English
Language : 

UM0563 Datasheet, PDF (30/46 Pages) STMicroelectronics – L9952GXP software driver user manual
L9952GXP software driver platform types
5
L9952GXP software driver platform types
UM0563
The following tables summarize the L9952GXP software driver platform types.
Table 27. L9952drv_StandbyModeType
Type
enum
Range
Description
L9952DRV_STANDBYMODE_V1
Switches L9952GXP to V1 standby
mode
L9952DRV_STANDBYMODE_VBAT
Switches L9952GXP to Vbat stand by
mode
Defines the standby modes of the L9952GXP
Table 28. L9952drv_OutModeType
Type:
enum
Range
L9952DRV_OUT_MODE_OFF
L9952DRV_OUT_MODE_ON
L9952DRV_OUT_MODE_TIMER1
L9952DRV_OUT_MODE_TIMER2
Driver is off in all modes
Driver is on in active mode and off in
standby mode
Driver is cyclic: It is on when Timer1 is
in active or standby mode
Driver is cyclic: It is on when Timer2 is
in active or standby mode
L9952DRV_OUT_MODE_PWM1
L9952DRV_OUT_MODE_PWM2
Driver is controlled by the pulse-width
modulation 1 (PWM1) input
Driver is controlled by the PWM2 input
Description
Defines the output modes of the HS outputs
Table 29. L9952drv_OutHSAutorecoveryType
Type
enum
Range
Description
L9952DRV_OUTHS_AUTORECOVERY
_OFF
Disables the autorecovery
functionality for the OUT HS outputs
of the L9952GXP
L9952DRV_OUTHS_AUTORECOVERY
_ON
Enables the autorecovery
functionality for the OUT HS outputs
of the L9952GXP
Defines the states for the OUT HS outputs which control autorecovery
functionality
30/46