Port-mapping refers to directly accessing the hardware registers (ports), in particular the input/output ports. Use this tag for discussing direct port access.
1
vote
1answer
49 views
Enabling pins of Arduino Due with direct port manipulation
I want to enable pin13 on my SAM3X8E using direct port manipulation. On this chip the pin is bit 27 in port B so I used PIOB->PIO_PER = 1<<27; to enable this pin but it doesn't work. This pin ...
6
votes
2answers
609 views
SAM3X8E (Arduino Due) Pin IO registers
How does IO registers of Arduino Due work?
On Arduno Uno just set DDRx, then PINx to read, PORTx to write, I'd like to do the same thing with an Arduino Due, but it has many more registers, such as ...