STM32L4R9I_EVAL BSP User Manual: Exported Functions

STM32L4R9I_EVAL BSP

STM32L4R9I_EVAL BSP User Manual
Exported Functions

Functions

uint8_t BSP_IDD_Init (void)
 Configures IDD measurement component.
void BSP_IDD_DeInit (void)
 Unconfigures IDD measurement component.
void BSP_IDD_Reset (void)
 Reset Idd measurement component.
void BSP_IDD_LowPower (void)
 Turn Idd measurement component in low power (standby/sleep) mode.
void BSP_IDD_StartMeasure (void)
 Start Measurement campaign.
void BSP_IDD_Config (IDD_ConfigTypeDef IddConfig)
 Configure Idd component.
void BSP_IDD_GetValue (uint32_t *IddValue)
 Get Idd current value.
void BSP_IDD_EnableIT (void)
 Enable Idd interrupt that warn end of measurement.
void BSP_IDD_ClearIT (void)
 Clear Idd interrupt that warn end of measurement.
uint8_t BSP_IDD_GetITStatus (void)
 Get Idd interrupt status.
void BSP_IDD_DisableIT (void)
 Disable Idd interrupt that warn end of measurement.
uint8_t BSP_IDD_ErrorGetCode (void)
 Get Error Code .
void BSP_IDD_ErrorEnableIT (void)
 Enable error interrupt that warn end of measurement.
void BSP_IDD_ErrorClearIT (void)
 Clear Error interrupt that warn end of measurement.
uint8_t BSP_IDD_ErrorGetITStatus (void)
 Get Error interrupt status.
void BSP_IDD_ErrorDisableIT (void)
 Disable Error interrupt.
void BSP_IDD_WakeUp (void)
 Wake up Idd measurement component.

Function Documentation

void BSP_IDD_ClearIT ( void  )

Clear Idd interrupt that warn end of measurement.

Return values:
None

Definition at line 234 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_Config ( IDD_ConfigTypeDef  IddConfig)

Configure Idd component.

Parameters:
IddConfig,:structure of idd parameters
Return values:
None

Definition at line 194 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

Referenced by BSP_IDD_Init().

void BSP_IDD_DeInit ( void  )

Unconfigures IDD measurement component.

Return values:
IDD_OKif no problem during deinitialization

Definition at line 140 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_DisableIT ( void  )

Disable Idd interrupt that warn end of measurement.

Return values:
None

Definition at line 262 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_EnableIT ( void  )

Enable Idd interrupt that warn end of measurement.

Return values:
None

Definition at line 222 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_ErrorClearIT ( void  )

Clear Error interrupt that warn end of measurement.

Return values:
None

Definition at line 317 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_ErrorDisableIT ( void  )

Disable Error interrupt.

Return values:
None

Definition at line 345 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_ErrorEnableIT ( void  )

Enable error interrupt that warn end of measurement.

Return values:
None

Definition at line 305 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

uint8_t BSP_IDD_ErrorGetCode ( void  )

Get Error Code .

Return values:
Errorcode or error status

Definition at line 274 of file stm32l4r9i_eval_idd.c.

References IDD_ERROR, IDD_I2C_ADDRESS, and IddDrv.

uint8_t BSP_IDD_ErrorGetITStatus ( void  )

Get Error interrupt status.

Return values:
Status

Definition at line 329 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

uint8_t BSP_IDD_GetITStatus ( void  )

Get Idd interrupt status.

Return values:
status

Definition at line 246 of file stm32l4r9i_eval_idd.c.

References IDD_ERROR, IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_GetValue ( uint32_t *  IddValue)

Get Idd current value.

Parameters:
IddValue,:Pointer on u32 to store Idd. Value unit is 10 nA.
Return values:
None

Definition at line 207 of file stm32l4r9i_eval_idd.c.

References BSP_IO_ConfigPin(), IDD_AMP_CONTROL_PIN, IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_LowPower ( void  )

Turn Idd measurement component in low power (standby/sleep) mode.

Return values:
None

Definition at line 164 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_Reset ( void  )

Reset Idd measurement component.

Return values:
None

Definition at line 152 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_StartMeasure ( void  )

Start Measurement campaign.

Return values:
None

Definition at line 176 of file stm32l4r9i_eval_idd.c.

References BSP_IO_ConfigPin(), BSP_IO_WritePin(), IDD_AMP_CONTROL_PIN, IDD_I2C_ADDRESS, and IddDrv.

void BSP_IDD_WakeUp ( void  )

Wake up Idd measurement component.

Return values:
None

Definition at line 357 of file stm32l4r9i_eval_idd.c.

References IDD_I2C_ADDRESS, and IddDrv.

Generated on Thu Oct 12 2017 10:54:00 for STM32L4R9I_EVAL BSP User Manual by   doxygen 1.7.6.1