Datasheet
L6460 GPIO pins
Doc ID 17713 Rev 1 119/139
22.11 GPIO[10]
The GPIO[10] truth table is (for the abbreviation list please refer to Ta ble 4 0).
Table 51. GPIO[10] truth table
Op1EnPlusPin
(1)
1. The Op1EnMinusPin bit in the OpAmp1Ctrl register enables the connection of the positive input of Op1 to
GPIO[10] pin.
GPIO[10] SPI bits
Function
(2)
2. The GPIO[10] pin is used by the system when firmware requires the ID read action (Chapter 25)
Note
GpioOut
enable[10]
Mode[2] Mode[1] Mode[0]
1 X XXX OpAmp1 in-
(3)
3. When Op1EnPlusPin = ‘1’ the GpioOutEnable[10] bit is forced to 0.
0 0 X X X HiZ (SPI_IN)
01000SPI OUT
(4)
4. In all configurations in which GPIO[10] is enabled as output:
a) the GPIO[10] 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[10] pin can be always used as a digital input so its value can be always read through SPI
interface (SPI_IN function);
c) please note that GPIO[10] output is directly connected to ExtPWM2 input for bridge 1 or 2 and
therefore particular care must be taken in order to avoid wrong PWM signals when ExtPWM2 is
selected for bridge 1 or 2;
d) the GPIO[10] pin is a rail to rail output supplied by V
GPIO_SPI.
0 1 0 0 1 Interrupt Ctrl
(4)
01010AuxPwm2
(4)
01011AuxPwm3
(4)
0 1 1 0 0 Interrupt Ctrl inverted
(4)
01101AuxPwm2 inverted
(4)
01000AuxPwm3 inverted
(4)