CHAPTER 12: I/O Port
602 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
4.4 Port Input Data Register (PDIRx)
The PDIRx register indicates input data of a pin.
List of PDIR 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] PDIRx: Port Input Data Register x
Reads out input data of a pin.
Regardless of pin function settings (PFR/EPFR/DDR/PDOR), it indicates that a pin is in the
status of L level input or L level output. When a special pin is selected by ADE/SPSR, as input
is cut off, 0 is always read out.
Regardless of pin function settings (PFR/EPFR/DDR/PDOR), it indicates that a pin is in the
status of H level input or H level output.
Writing does not affect anything.