CHAPTER 12: I/O Port
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 603
Notes:
− The "x" of PDIRx is a wildcard. PDIRx indicates PDIR0, PDIR1, PDIR2, etc.
− The "x" of Px0 and PxF is a wildcard. Px0 indicates P00, P10, P20, etc. PxF indicates P0F, P1F,
P2F, etc.
− One register allows reading input data of 16 ports from PxF to Px0.
− Each bit in the register indicates the status of each pin individually. There is a one-to-one
correspondence between bit assignment and the order of pins. For example, the 15th bit of
PDIR0 indicates P0F, the 14th bit of PDIR0 indicates P0E, and the 0th bit of PDIR0 indicates P00.
− "0" is always read for a bit value of the pin which is not available in your product.
− The setting of P46 to P49 with this register is invalid. Use VbatIO port function control register
(VBPFR) of VBAT RTC to set these pins. For details of VBAT RTC, see VBAT.
− PDIRx register is not initialized by deep standby transition reset.