Datasheet
ADT7470 Data Sheet
Rev. E | Page 38 of 40
Table 49. Register 0x80. GPIO CONFIG (Power-On Default = 0x00).
Bit Name Read/Write Description
[7] GPIO1_d Read/Write This bit sets the direction of GPIO 1 when the PWM1 pin is configured as GPIO.
1 = output; 0 = input.
Data for GPIO 1 is set by the LSB of the PWM1 min duty cycle register.
[6] GPIO1_p Read/Write This bit sets the polarity of GPIO 1 when the PWM1 pin is configured as GPIO.
1 = active high; 0 = active low.
[5] GPIO2_d Read/Write This bit sets the direction of GPIO 2 when the PWM2 pin is configured as GPIO.
1= output; 0 = input.
Data for GPIO 2 is set by the LSB of the PWM2 min duty cycle register.
[4] GPIO2_p Read/Write This bit sets the polarity of GPIO 2 when the PWM2 pin is configured as GPIO.
1 = active high; 0 = active low.
[3] GPIO3_d Read/Write This bit sets the direction of GPIO 3 when the PWM3 pin is configured as GPIO.
1= output; 0 = input.
Data for GPIO 3 is set by the LSB of the PWM3 min duty cycle register.
[2] GPIO3_p Read/Write This bit sets the polarity of GPIO 3 when the PWM3 pin is configured as GPIO.
1 = active high; 0 = active low.
[1] GPIO4_d Read/Write This bit sets the direction of GPIO 4 when the PWM4 pin is configured as GPIO.
1= output; 0 = input.
Data for GPIO 4 is set by the LSB of the PWM4 min duty cycle register.
[0] GPIO4_p Read/Write This bit sets the polarity of GPIO 4 when the PWM4 pin is configured as GPIO.
1 = active high; 0 = active low.
Table 50. Register 0x81. GPIO Status (Power-On Default = 0x00).
Bit Name Read/Write Description
[7:4] GPIO_s Read/Write These bits indicate the status of the GPIO when the corresponding PWM pin is configured
as GPIO.
When GPIO is configured as an input, these bits are read-only. They are set when the input
is asserted. (Asserted can be high or low depending on the setting of the GPIO polarity.)
When GPIO is configured as an output, these bits are read/write. Setting these bits asserts
the GPIO output. (Asserted can be high or low depending on the setting of GPIO4
polarity.)
[7] GPIO4_s Read/Write This bit indicates the status of GPIO 4 when the PWM4 pin is configured as GPIO.
[6] GPIO3_s Read/Write This bit indicates the status of GPIO 3 when the PWM3 pin is configured as GPIO.
[5] GPIO2_s Read/Write This bit indicates the status of GPIO 2 when the PWM2 pin is configured as GPIO.
[4] GPIO1_s Read/Write This bit indicates the status of GPIO 1 when the PWM1 pin is configured as GPIO.
[3:0] Reserved Read/Write Test Bit. For Analog Devices use only.