TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

Operation on OPAMP instance

Operation on OPAMP instance
[OPAMP Exported Functions]

Functions

__STATIC_INLINE void LL_OPAMP_Enable (OPAMP_TypeDef *OPAMPx)
 Enable OPAMP instance.
__STATIC_INLINE void LL_OPAMP_Disable (OPAMP_TypeDef *OPAMPx)
 Disable OPAMP instance.
__STATIC_INLINE uint32_t LL_OPAMP_IsEnabled (OPAMP_TypeDef *OPAMPx)
 Get OPAMP instance enable state (0: OPAMP is disabled, 1: OPAMP is enabled) CSR OPAMPXEN LL_OPAMP_IsEnabled.

Function Documentation

__STATIC_INLINE void LL_OPAMP_Disable ( OPAMP_TypeDef *  OPAMPx )

Disable OPAMP instance.

CSR OPAMPXEN LL_OPAMP_Disable

Parameters:
OPAMPxOPAMP instance
Return values:
None

Definition at line 804 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE void LL_OPAMP_Enable ( OPAMP_TypeDef *  OPAMPx )

Enable OPAMP instance.

Note:
After enable from off state, OPAMP requires a delay to fullfill wake up time specification. Refer to device datasheet, parameter "tWAKEUP". CSR OPAMPXEN LL_OPAMP_Enable
Parameters:
OPAMPxOPAMP instance
Return values:
None

Definition at line 793 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE uint32_t LL_OPAMP_IsEnabled ( OPAMP_TypeDef *  OPAMPx )

Get OPAMP instance enable state (0: OPAMP is disabled, 1: OPAMP is enabled) CSR OPAMPXEN LL_OPAMP_IsEnabled.

Parameters:
OPAMPxOPAMP instance
Return values:
Stateof bit (1 or 0).

Definition at line 816 of file stm32l4xx_ll_opamp.h.