This fork is necessary for the Starship code.
Fork of
BSP_DISCO_F429ZI
by ST
« Back to documentation index
L3GD20_Private_Functions
Function Documentation
void L3GD20_DeInit
(
void
)
L3GD20 De-initialization.
Parameters:
Return values:
Definition at line 142 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 264 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 234 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 315 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 291 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 335 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 119 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 203 of file l3gd20.c .
void L3GD20_LowPower
(
uint16_t
InitStruct )
Set L3GD20 in low-power mode.
Parameters:
Definition at line 189 of file l3gd20.c .
uint8_t L3GD20_ReadID
(
void
)
Read ID address of L3GD20.
Parameters:
Return values:
Definition at line 151 of file l3gd20.c .
void L3GD20_ReadXYZAngRate
(
float *
pfData )
Calculate the L3GD20 angular data.
Parameters:
Return values:
Definition at line 350 of file l3gd20.c .
void L3GD20_RebootCmd
(
void
)
Reboot memory content of L3GD20.
Parameters:
Return values:
Definition at line 170 of file l3gd20.c .