Datasheet
L6460 GPIO pins
Doc ID 17713 Rev 1 105/139
22.4 GPIO[3]
The GPIO[3] truth table is (for the abbreviation list please refer to Tabl e 4 0).
Table 44. GPIO[3] truth table
State at
StartUp
GPIO[3] SPI BITS
Function Note
GpioOut
Enable [3]
Mode[2] Mode[1] Mode[0]
1 X X X X Detection of StartUp config
See
Chapter 8
0 0 X X X HiZ (SPI_IN)
01000 SPI OUT
(1)
1. In all configurations in which GPIO[3] is enabled as output:
a) the GPIO[3] pin can be always used as an analog input to the ADC system (ADC function) by writing its
address in the A2DChannelX[4:0] in the A2DConfigX register and starting a conversion;
b) the GPIO[3] pin can be always used as a digital input so its value can be always read through SPI
interface (SPI_IN function);
c) the GPIO[3] pin is an open drain output.
01001 AuxPwm1
(1)
01010 AuxPwm2
(1)
01011 AuxPwm2
(1)
0 1 1 0 0 SPI OUT inverted
(1)
01101AuxPwm1 inverted
(1)
01110AuxPwm2 inverted
(1)
01111AuxPwm3 inverted
(1)