ZHCSEJ3B June 2015 – April 2020 ADS131E08S
PRODUCTION DATA.
This register controls the format and state of the four GPIO pins.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
GPIOD[4:1] | GPIOC[4:1] | ||||||
R/W-0h | R/W-Fh |
LEGEND: R/W = Read/Write; -n = value after reset |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
7-4 | GPIOD[4:1] | R/W | 0h | GPIO data.
These bits are used to read and write data to the GPIO ports. When reading the register, the data returned correspond to the state of the GPIO external pins, whether they are programmed as inputs or outputs. As outputs, a write to the GPIOD sets the output value. As inputs, a write to the GPIOD has no effect. |
3-0 | GPIOC[4:1] | R/W | Fh | GPIO control (corresponding to GPIOD).
These bits determine if the corresponding GPIOD pin is an input or output. 0 = Output 1 = Input |