CHAPTER 12: I/O Port
582 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
1. Overview
This section provides an overview of the I/O port.
The I/O port of this series provides the following features.
The I/O port of this series shares the following functions.
− GPIO
General-purpose I/O ports, which can read an input level and set an output level from the CPU.
− Peripheral input/output
Digital input/output signal ports of peripheral functions.
− Special I/O ports
− Analog input port
An analog input port of an A/D converter and LCD controller.
− Analog output port
An analog output port of a D/A converter and LCD controller.
− USB port
− Oscillation port
The followings settings can be made for each pin.
− You can set whether the I/O port will be used as a GPIO, a digital pin of peripheral functions, or a
special pin.
− You can set whether the I/O port will be used as an input port or an output port.
− You can enable or disable pull-up.
− Peripheral functions are assigned to two or more I/O ports with input/output of the same function.
You can set to which I/O port the function can be allocated (relocation function).
− By setting registers, you can set the I/O port to Hi-Z status while the CPU is in standby mode.