Datasheet

L6460 GPIO pins
Doc ID 17713 Rev 1 127/139
22.15 GPIO[14]
The GPIO[14] truth table is (for the abbreviation list please refer to Ta ble 4 0).
Table 55. GPIO[14] truth table
EnOp2
(1)
1. The EnOp2 bit in the OpAmp2Ctrl register enables the operational amplifier 2.
GPIO[14] SPI bits
Function Note
GpioOut
enable[14]
Mode[2] Mode[1] Mode[0]
1 X XXX OpAmp2 Out
(2)
2. When EnOp2 = ‘1’ the GpioOutEnable[14] bit is forced to 0.
0 0 X X X HiZ (SPI_IN)
01000 SPI OUT
(3)
3. In all configurations in which GPIO[14] is enabled as output:
a) the GPIO[14] 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[14] 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[14] pin is a rail to rail output supplied by V
GPIO_SPI.
0 1 0 0 1 Interrupt Ctrl
(3)
01010 AuxPwm2
(3)
01011 AuxPwm3
(3)
0 1 1 0 0 SPI OUT inverted
(3)
0 1 1 0 1 Interrupt Ctrl inverted
(3)
01110AuxPwm2 inverted
(3)
01111AuxPwm3 inverted
(3)