SBAS961A May 2019 – April 2020 TLA2528
PRODUCTION DATA.
The eight channels of the TLA2528 can be independently configured as analog inputs, digital inputs, or digital outputs. Table 6 describes how the PIN_CFG and GPIO_CFG registers can be used to configure the channels.
PIN_CFG[7:0] | GPIO_CFG[7:0] | GPO_DRIVE_CFG[7:0] | CHANNEL CONFIGURATION |
---|---|---|---|
0 | x | x | Analog input (default) |
1 | 0 | x | Digital input |
1 | 1 | 0 | Digital output; open-drain driver |
1 | 1 | 1 | Digital output; push-pull driver |
The digital outputs can be configured to logic 1 or 0 by writing to the GPO_VALUE register. Reading the GPI_VALUE register returns the logic level for all channels configured as digital inputs.