CHAPTER 12: I/O Port
588 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
− Which peripheral function is allocated to which pin depends on products.
See the pin function list of Data Sheet of the product used.
− Even if the input of one I/O port is connected to two or more peripheral functions, all peripheral
inputs can be used by setting EPFR. For example, in Figure 2-3, by selecting input for both
Relocation input pin A_2 and Relocation input pin B_1, simultaneous usage is possible. In this way,
it is possible to use external interrupt and a multi-function serial input pin shared by one I/O port
simultaneously.
Figure 2-3 Multiple Peripheral Inputs
− Even if an I/O pin is set as output, it can work as an input pin because input is not masked. For
example, timer output can be used as external interrupt input which shared.