RTEMS
5.1
|
Modules | |
General-Purpose IO Configuration Functions | |
General-Purpose IO Interrupt Functions | |
General-Purpose IO Utility Functions | |
General-Purpose IO via Bit Index | |
This module defines the General Purpose Input/Output Manager API for accessing, configuring, and controlling the General Purpose Input/Output Manager resources. These include both the general-purpose GPIO signals and the input-only GPI signals that are shared with the DDR interface.
The GPIO API presents two views or perspectives of the GPIO signals. The first is to view the GPIO signals in a traditional way, as separate GPIO ports each comprised of a number of GPIO bits. The second perspective is of a unified flat view that presents the GPIO and GPI signals as a set of indexed bits, a view that allows the programmer to mostly ignore the port and pin hardware configuration and read/write/configure the GPIO and GPI signals independently of the underlying hardware implementation.