STM32L4R9I-Discovery BSP User Manual
|
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 233 of file stm32l4r9i_discovery_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 192 of file stm32l4r9i_discovery_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_OK if no problem during deinitialization
Definition at line 138 of file stm32l4r9i_discovery_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 261 of file stm32l4r9i_discovery_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 221 of file stm32l4r9i_discovery_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 316 of file stm32l4r9i_discovery_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_ErrorDisableIT | ( | void | ) |
Disable Error interrupt.
- Return values:
-
None
Definition at line 344 of file stm32l4r9i_discovery_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 304 of file stm32l4r9i_discovery_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
uint8_t BSP_IDD_ErrorGetCode | ( | void | ) |
Get Error Code .
- Return values:
-
Error code or error status
Definition at line 273 of file stm32l4r9i_discovery_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 328 of file stm32l4r9i_discovery_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
uint8_t BSP_IDD_GetITStatus | ( | void | ) |
Get Idd interrupt status.
- Return values:
-
status
Definition at line 245 of file stm32l4r9i_discovery_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 205 of file stm32l4r9i_discovery_idd.c.
References BSP_IO_ConfigPin(), BSP_IO_WritePin(), IDD_AMP_CONTROL_PIN, IDD_I2C_ADDRESS, and IddDrv.
uint8_t BSP_IDD_Init | ( | void | ) |
Configures IDD measurement component.
- Return values:
-
IDD_OK if no problem during initialization
Definition at line 73 of file stm32l4r9i_discovery_idd.c.
References BSP_IDD_Config(), BSP_IO_Init(), DISCOVERY_IDD_AMPLI_GAIN, DISCOVERY_IDD_SHUNT0_STABDELAY, DISCOVERY_IDD_SHUNT0_VALUE, DISCOVERY_IDD_SHUNT1_STABDELAY, DISCOVERY_IDD_SHUNT1_VALUE, DISCOVERY_IDD_SHUNT2_STABDELAY, DISCOVERY_IDD_SHUNT2_VALUE, DISCOVERY_IDD_SHUNT4_STABDELAY, DISCOVERY_IDD_SHUNT4_VALUE, DISCOVERY_IDD_VDD_MIN, IDD_ERROR, IDD_I2C_ADDRESS, IDD_OK, and IddDrv.
void BSP_IDD_LowPower | ( | void | ) |
Turn Idd measurement component in low power (standby/sleep) mode.
- Return values:
-
None
Definition at line 162 of file stm32l4r9i_discovery_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_Reset | ( | void | ) |
Reset Idd measurement component.
- Return values:
-
None
Definition at line 150 of file stm32l4r9i_discovery_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_StartMeasure | ( | void | ) |
Start Measurement campaign.
- Return values:
-
None
Definition at line 174 of file stm32l4r9i_discovery_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 356 of file stm32l4r9i_discovery_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
Generated on Fri Oct 13 2017 02:37:42 for STM32L4R9I-Discovery BSP User Manual by 1.7.6.1