STMicroelectronics FlexSPIN: SPI configurable stepper and DC multi motor driver evaluation board EVAL6460 EVAL6460 Data Sheet

Product codes
EVAL6460
Page of 139
L6460 
GPIO pins
Doc ID 17713 Rev 1
101/139
   
   
   
22.2 GPIO[1] 
The GPIO[1] truth table is (for the abbreviation list please refer to 
).
         
Table 42.
GPIO[1] truth table
AUX1Enable 
or 
AUX1System
GPIO[1] SPI BITS
Function
Note
GpioOut 
Enable [1]
Mode[2]
Mode[1]
Mode[0]
1
X
X
X
X
AUX1  FB
(1)
1.
AUX1Enable or AUX1System bit =1 represent the case in which AUX1 is used as a system or not system 
regulator.
0
0
0
X
X
HiZ  (SPI_IN)
0
0
1
X
X
Comp1 IN -
(2)
2.
In all configurations in which GPIO[1] is enabled as output:
a) the GPIO[1] 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[1] 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[1] pin is an open drain output.
0
1
0
0
0
SPI OUT
0
1
0
0
1
AuxPwm1
0
1
0
1
0
AuxPwm2
0
1
0
1
1
InterruptCtrl
0
1
1
0
0
SPI OUT inverted
0
1
1
0
1
AuxPwm1  inverted
0
1
1
1
0
AuxPwm2inverted
0
1
1
1
1
IntCtrlinverted