SPRUIX1B October 2022 – April 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
Some GPIOs are multiplexed with analog pins and have digital input and output functionality. These are also referred to as AGPIOs. Unlike AIOs, AGPIOs have full input and output capability.
By default, the AGPIOs are not connected and must be configured. Table 10-70 shows how to configure the AGPIOs. To enable the analog functionality, set the register AGPIOCTRLx from analog subsystem. To enable the digital functionality, set the register GPxAMSEL from the General-Purpose Input/Output (GPIO) chapter.
AGPIOCTRLx.GPIOy (Default = 0) |
GPxAMSEL.GPIOy (Default = 1) |
Pin Connected To: | |
---|---|---|---|
ADC | GPIOy | ||
0 | 0 | - | Yes |
0 | 1 | -(1) | -(1) |
1 | 0 | - | Yes |
1 | 1 | Yes | - |