Power saving functions.
More...
|
void | SDADC_PowerDownCmd (SDADC_TypeDef *SDADCx, FunctionalState NewState) |
| Enables or disables the SDADC power down mode when idle. More...
|
|
void | SDADC_StandbyCmd (SDADC_TypeDef *SDADCx, FunctionalState NewState) |
| Enables or disables the SDADC standby mode when idle. More...
|
|
void | SDADC_SlowClockCmd (SDADC_TypeDef *SDADCx, FunctionalState NewState) |
| Enables or disables the SDADC in slow clock mode. More...
|
|
Power saving functions.
===============================================================================
##### Power saving functions #####
===============================================================================
[..] This section provides functions allowing to reduce power consumption:
(+) Enable the power down mode when idle using SDADC_PowerDownCmd();
(+) Enable the standby mode when idle using SDADC_StandbyCmd();
(+) Enable the slow clock mode using SDADC_SlowClockCmd()
void SDADC_PowerDownCmd |
( |
SDADC_TypeDef * |
SDADCx, |
|
|
FunctionalState |
NewState |
|
) |
| |
Enables or disables the SDADC power down mode when idle.
- Note
- SDADC power down mode when idle is used to cut the consumption when the SDADC is not converting (when idle).
-
When the SDADC is in power down mode and a conversion is requested, the SDADC takes 100us to stabilize before launching the conversion.
- Parameters
-
SDADCx,: | where x can be 1, 2 or 3 to select the SDADC peripheral. |
NewState,: | new state of the selected SDADC power down mode when idle This parameter can be: ENABLE or DISABLE. |
- Return values
-
void SDADC_SlowClockCmd |
( |
SDADC_TypeDef * |
SDADCx, |
|
|
FunctionalState |
NewState |
|
) |
| |
Enables or disables the SDADC in slow clock mode.
- Note
- Slow clock mode (where the SDADC clock frequency should be 1.5MHz) allowing a lower level of current consumption as well as operation at a lower minimum voltage.
- Parameters
-
SDADCx,: | where x can be 1, 2 or 3 to select the SDADC peripheral. |
NewState,: | new state of the selected SDADC slow clock mode This parameter can be: ENABLE or DISABLE. |
- Return values
-
void SDADC_StandbyCmd |
( |
SDADC_TypeDef * |
SDADCx, |
|
|
FunctionalState |
NewState |
|
) |
| |
Enables or disables the SDADC standby mode when idle.
- Note
- SDADC standby mode when idle is used to cut the consumption when the SDADC is not converting (when idle).
-
When the SDADC is in standby mode and a conversion is requested, the SDADC takes 50us to stabilize before launching the conversion.
- Parameters
-
SDADCx,: | where x can be 1, 2 or 3 to select the SDADC peripheral. |
NewState,: | new state of the selected SDADC standby mode when idle This parameter can be: ENABLE or DISABLE. |
- Return values
-