I'd like to know how to directly read bits from multiple pins at once.
I can do this easily with the uno using port registers eg:
byte data = PINC;
to read the values on the analogue pins 0-5 and store it as a number from 0-256.
It's important the code I am using is very fast hence I cannot use digitalRead(). Does the due have similar port registers for the IO pins or is there another way to quickly access this data?