STM32L073Z_EVAL BSP User Manual
|
Functions | |
uint8_t | BSP_IDD_Init (void) |
Configures 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_WakeUp (void) |
Wakes up Idd measurement component. | |
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. |
Function Documentation
void BSP_IDD_ClearIT | ( | void | ) |
Clear Idd interrupt that warn end of measurement.
- Parameters:
-
None
- Return values:
-
None
Definition at line 244 of file stm32l073z_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 205 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
Referenced by BSP_IDD_Init().
void BSP_IDD_DisableIT | ( | void | ) |
Disable Idd interrupt that warn end of measurement.
- Parameters:
-
None
- Return values:
-
None
Definition at line 274 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_EnableIT | ( | void | ) |
Enable Idd interrupt that warn end of measurement.
- Parameters:
-
None
- Return values:
-
None
Definition at line 231 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_ErrorClearIT | ( | void | ) |
Clear Error interrupt that warn end of measurement.
- Parameters:
-
None
- Return values:
-
None
Definition at line 334 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_ErrorDisableIT | ( | void | ) |
Disable Error interrupt.
- Parameters:
-
None
- Return values:
-
None
Definition at line 364 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_ErrorEnableIT | ( | void | ) |
Enable error interrupt that warn end of measurement.
- Parameters:
-
None
- Return values:
-
None
Definition at line 321 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
uint8_t BSP_IDD_ErrorGetCode | ( | void | ) |
Get Error Code .
- Parameters:
-
None.
- Return values:
-
Error code or error
Definition at line 287 of file stm32l073z_eval_idd.c.
References IDD_ERROR, IDD_I2C_ADDRESS, and IddDrv.
uint8_t BSP_IDD_ErrorGetITStatus | ( | void | ) |
Get Error interrupt status.
- Parameters:
-
Return
- Return values:
-
None
Definition at line 347 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
uint8_t BSP_IDD_GetITStatus | ( | void | ) |
Get Idd interrupt status.
- Parameters:
-
Return
- Return values:
-
None
Definition at line 257 of file stm32l073z_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 218 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
uint8_t BSP_IDD_Init | ( | void | ) |
Configures IDD measurement component.
- Parameters:
-
None
- Return values:
-
IDD_OK if no problem during initialization
Definition at line 97 of file stm32l073z_eval_idd.c.
References BSP_IDD_Config(), EVAL_IDD_AMPLI_GAIN, EVAL_IDD_SHUNT0_STABDELAY, EVAL_IDD_SHUNT0_VALUE, EVAL_IDD_SHUNT1_STABDELAY, EVAL_IDD_SHUNT1_VALUE, EVAL_IDD_SHUNT2_STABDELAY, EVAL_IDD_SHUNT2_VALUE, EVAL_IDD_SHUNT3_STABDELAY, EVAL_IDD_SHUNT3_VALUE, EVAL_IDD_SHUNT4_STABDELAY, EVAL_IDD_SHUNT4_VALUE, EVAL_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 179 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_Reset | ( | void | ) |
Reset Idd measurement component.
- Return values:
-
None
Definition at line 157 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_StartMeasure | ( | void | ) |
Start Measurement campaign.
- Parameters:
-
None
- Return values:
-
None
Definition at line 192 of file stm32l073z_eval_idd.c.
References IDD_I2C_ADDRESS, and IddDrv.
void BSP_IDD_WakeUp | ( | void | ) |
Wakes up Idd measurement component.
- Return values:
-
None
Definition at line 376 of file stm32l073z_eval_idd.c.
References IDD_WAKEUP_GPIO_PORT, and IDD_WAKEUP_PIN.
Generated on Mon Aug 28 2017 14:54:26 for STM32L073Z_EVAL BSP User Manual by 1.7.6.1