Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Configuration of OPAMP hierarchical scope: common to several OPAMP instances
[OPAMP Exported Functions]
Functions | |
__STATIC_INLINE void | LL_OPAMP_SetCommonPowerRange (OPAMP_Common_TypeDef *OPAMPxy_COMMON, uint32_t PowerRange) |
Set OPAMP power range. | |
__STATIC_INLINE uint32_t | LL_OPAMP_GetCommonPowerRange (OPAMP_Common_TypeDef *OPAMPxy_COMMON) |
Get OPAMP power range. |
Function Documentation
__STATIC_INLINE uint32_t LL_OPAMP_GetCommonPowerRange | ( | OPAMP_Common_TypeDef * | OPAMPxy_COMMON ) |
Get OPAMP power range.
- Note:
- The OPAMP power range applies to several OPAMP instances (if several OPAMP instances available on the selected device). CSR OPARANGE LL_OPAMP_GetCommonPowerRange
- Parameters:
-
OPAMPxy_COMMON OPAMP common instance (can be set directly from CMSIS definition or by using helper macro __LL_OPAMP_COMMON_INSTANCE() )
- Return values:
-
Returned value can be one of the following values: - LL_OPAMP_POWERSUPPLY_RANGE_LOW
- LL_OPAMP_POWERSUPPLY_RANGE_HIGH
Definition at line 384 of file stm32l4xx_ll_opamp.h.
__STATIC_INLINE void LL_OPAMP_SetCommonPowerRange | ( | OPAMP_Common_TypeDef * | OPAMPxy_COMMON, |
uint32_t | PowerRange | ||
) |
Set OPAMP power range.
- Note:
- The OPAMP power range applies to several OPAMP instances (if several OPAMP instances available on the selected device).
- On this STM32 serie, setting of this feature is conditioned to OPAMP state: All OPAMP instances of the OPAMP common group must be disabled. This check can be done with function LL_OPAMP_IsEnabled() for each OPAMP instance or by using helper macro __LL_OPAMP_IS_ENABLED_ALL_COMMON_INSTANCE(). CSR OPARANGE LL_OPAMP_SetCommonPowerRange
- Parameters:
-
OPAMPxy_COMMON OPAMP common instance (can be set directly from CMSIS definition or by using helper macro __LL_OPAMP_COMMON_INSTANCE() ) PowerRange This parameter can be one of the following values: - LL_OPAMP_POWERSUPPLY_RANGE_LOW
- LL_OPAMP_POWERSUPPLY_RANGE_HIGH
- Return values:
-
None
Definition at line 368 of file stm32l4xx_ll_opamp.h.
Generated on Tue Jul 12 2022 17:38:57 by
