CHAPTER 12: I/O Port
600 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
4.3 Port input/output Direction Setting Register (DDRx)
The DDRx register sets input/output direction of a pin.
List of DDR Register Configuration
Detailed Register Configuration
Register Function
[bit31:16] Reserved: Reserved bits
0x0000 is read out from these bits.
When writing these bits, set them to 0x0000.
[bit15:0] DDRx: Port input/output Direction Setting Register x
Sets input/output direction of a pin.
Can read out the setting value of the register.
Uses GPIO in input direction.
If a pin is selected as an input/output pin of peripheral functions, this setting value is invalid.
Uses GPIO in output direction.
If a pin is selected as an input/output pin of peripheral functions, this setting value is invalid.