SPRUI33H November 2015 – June 2024 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
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 12-1 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 | - |