CHAPTER 12: I/O Port
596 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
4.1 Port Function Setting Register (PFRx)
The PFRx register selects usage of a pin.
List of PFR 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] PFRx: Port Function Setting Register x
Selects usage of a pin.
Can read out the setting value of the register.
Uses a pin as a GPIO pin.
Uses a pin as an input/output pin of peripheral functions.