General-Purpose I/O Port Module (GPIO)
General-purpose I/O module enables using external pins as I/O ports. The general-purpose I/O module is composed of 5 GPIO ports. Each GPIO port has 32 channels, which correspond to external pins. For example, the external pin P216 corresponds to the channel 16 setting of the GPIO port 2. Key code settings are required for writing to registers.
Port Configuration Module (PPC)
The port configuration module sets I/O from/to an external pin. This setting can be set per external pin. − Output enable display − I/O status display − Pull-up setting − Pull-down setting − Input level setting − Output drive capacity setting − Input disable setting − Output (GPIO, resource) function selection Key code settings are required for writing to registers.
Resource Input Configuration Module (RIC)
The resource input configuration module selects input from an external pin or output from another internal resource as resource input.

本文主要探讨了通用输入输出(GPIO)模块的功能,包括5个GPIO端口,每个端口有32个通道,用于映射外部引脚。此外,还介绍了端口配置模块(PPC),用于设置外部引脚的I/O状态,如拉上、拉下、输入级别等。资源输入配置模块(RIC)允许选择外部引脚的输入或内部资源的输出作为资源输入。
4348

被折叠的 条评论
为什么被折叠?



