STM32L476G-Discovery board drivers V1.0.0
Dependents:
DiscoLogger
DISCO_L476VG_GlassLCD
DISCO_L476VG_MicrophoneRecorder
DISCO_L476VG_UART
... more
« Back to documentation index
L3GD20_Private_Functions
Function Documentation
void L3GD20_DeInit
(
void
)
L3GD20 De-initialization.
Parameters:
Return values:
Definition at line 124 of file l3gd20.c .
void L3GD20_DisableIT
(
uint8_t
IntSel )
Disable INT1 or INT2 interrupt.
Parameters:
IntSel,: choice of INT1 or INT2 This parameter can be:
Return values:
Definition at line 246 of file l3gd20.c .
void L3GD20_EnableIT
(
uint8_t
IntSel )
Enable INT1 or INT2 interrupt.
Parameters:
IntSel,: choice of INT1 or INT2 This parameter can be:
Return values:
Definition at line 216 of file l3gd20.c .
void L3GD20_FilterCmd
(
uint8_t
HighPassFilterState )
Enable or Disable High Pass Filter.
Parameters:
HighPassFilterState,: new state of the High Pass Filter feature. This parameter can be:
: L3GD20_HIGHPASSFILTER_DISABLE
: L3GD20_HIGHPASSFILTER_ENABLE
Return values:
Definition at line 297 of file l3gd20.c .
void L3GD20_FilterConfig
(
uint8_t
FilterStruct )
Set High Pass Filter Modality.
Parameters:
FilterStruct,: contains the configuration setting for the L3GD20.
Return values:
Definition at line 273 of file l3gd20.c .
uint8_t L3GD20_GetDataStatus
(
void
)
Get status for L3GD20 data.
Parameters:
Return values:
Data status in a L3GD20 Data
Definition at line 317 of file l3gd20.c .
void L3GD20_Init
(
uint16_t
InitStruct )
Set L3GD20 Initialization.
Parameters:
L3GD20_InitStruct,: pointer to a L3GD20_InitTypeDef structure that contains the configuration setting for the L3GD20.
Return values:
Definition at line 101 of file l3gd20.c .
void L3GD20_INT1InterruptConfig
(
uint16_t
Int1Config )
Set L3GD20 Interrupt INT1 configuration.
Parameters:
Int1Config,: the configuration setting for the L3GD20 Interrupt.
Return values:
Definition at line 185 of file l3gd20.c .
void L3GD20_LowPower
(
uint16_t
InitStruct )
Set L3GD20 in low-power mode.
Parameters:
Definition at line 171 of file l3gd20.c .
uint8_t L3GD20_ReadID
(
void
)
Read ID address of L3GD20.
Parameters:
Return values:
Definition at line 133 of file l3gd20.c .
void L3GD20_ReadXYZAngRate
(
float *
pfData )
Calculate the L3GD20 angular data.
Parameters:
Return values:
Definition at line 332 of file l3gd20.c .
void L3GD20_RebootCmd
(
void
)
Reboot memory content of L3GD20.
Parameters:
Return values:
Definition at line 152 of file l3gd20.c .