Datasheet
L6460 GPIO pins
Doc ID 17713 Rev 1 115/139
22.9 GPIO[8]
The GPIO[8] truth table is (for the abbreviation list please refer to Tabl e 4 0).
Table 49. GPIO[8] truth table
EnDac
(1)
1. The EnDAC bit in the CurrDacCtrl register enables the Current DAC (seeChapter 17)
GPIO[8] SPI bits
Function
(2)
2. This pin is 5 volt input tolerant.
Note
GpioOut
enable[8]
Mode[2] Mode[1] Mode[0]
1 X X X X CurrDAC
(3)
3. When EnDAC = ‘1’ the GpioOutEnable[8] bit is forced to 0. The current DAC circuit is directly connected to
GPIO[8] pin so as soon as it is enabled it will sink current from pin.
0 0 X X X HiZ (SPI_IN)
(4)
4. The GPIO[8] pin can be always used as a digital input so its value can be always read through SPI
interface (SPI_IN function). To avoid affecting the precision of CurrDAC when this is used to sink very low
currents, it is necessary to enable the digital input functionality of GPIO[8]. Therefore to read their values
through SPI interface (SPI_IN function), it is necessary to enable the EnGpio8DigIn bit in the CurrDacCtrl
register.
0 1 000 SPI OUT
(4)
0 1 001 AuxPwm1
(4)
0 1 010 AuxPwm3
(4)
0 1 011Comp2OUT
(4)
0 1 100
AuxPwm1
inverted
(4)
0 1 101
AuxPwm3
inverted
(4)
0 1 1 1 1 Comp2OUT inverted
(4)