TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

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

Embed: (wiki syntax)

« Back to documentation index

Configuration of OPAMP inputs

Configuration of OPAMP inputs
[OPAMP Exported Functions]

Functions

__STATIC_INLINE void LL_OPAMP_SetInputNonInverting (OPAMP_TypeDef *OPAMPx, uint32_t InputNonInverting)
 Set OPAMP non-inverting input connection.
__STATIC_INLINE uint32_t LL_OPAMP_GetInputNonInverting (OPAMP_TypeDef *OPAMPx)
 Get OPAMP non-inverting input connection.
__STATIC_INLINE void LL_OPAMP_SetInputInverting (OPAMP_TypeDef *OPAMPx, uint32_t InputInverting)
 Set OPAMP inverting input connection.
__STATIC_INLINE uint32_t LL_OPAMP_GetInputInverting (OPAMP_TypeDef *OPAMPx)
 Get OPAMP inverting input connection.

Function Documentation

__STATIC_INLINE uint32_t LL_OPAMP_GetInputInverting ( OPAMP_TypeDef *  OPAMPx )

Get OPAMP inverting input connection.

CSR VMSEL LL_OPAMP_GetInputInverting

Parameters:
OPAMPxOPAMP instance
Return values:
Returnedvalue can be one of the following values:

  • LL_OPAMP_INPUT_INVERT_IO0
  • LL_OPAMP_INPUT_INVERT_IO1
  • LL_OPAMP_INPUT_INVERT_CONNECT_NO

Definition at line 605 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE uint32_t LL_OPAMP_GetInputNonInverting ( OPAMP_TypeDef *  OPAMPx )

Get OPAMP non-inverting input connection.

CSR VPSEL LL_OPAMP_GetInputNonInverting

Parameters:
OPAMPxOPAMP instance
Return values:
Returnedvalue can be one of the following values:

  • LL_OPAMP_INPUT_NONINVERT_IO0
  • LL_OPAMP_INPUT_NONINVERT_DAC1_CH1

Definition at line 572 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE void LL_OPAMP_SetInputInverting ( OPAMP_TypeDef *  OPAMPx,
uint32_t  InputInverting 
)

Set OPAMP inverting input connection.

Note:
OPAMP inverting input is used with OPAMP in mode standalone or PGA with external capacitors for filtering circuit. Otherwise (OPAMP in mode follower), OPAMP inverting input is not used (not connected to GPIO pin). CSR VMSEL LL_OPAMP_SetInputInverting
Parameters:
OPAMPxOPAMP instance
InputInvertingThis parameter can be one of the following values:

  • LL_OPAMP_INPUT_INVERT_IO0
  • LL_OPAMP_INPUT_INVERT_IO1
  • LL_OPAMP_INPUT_INVERT_CONNECT_NO
Return values:
None

Definition at line 591 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE void LL_OPAMP_SetInputNonInverting ( OPAMP_TypeDef *  OPAMPx,
uint32_t  InputNonInverting 
)

Set OPAMP non-inverting input connection.

CSR VPSEL LL_OPAMP_SetInputNonInverting

Parameters:
OPAMPxOPAMP instance
InputNonInvertingThis parameter can be one of the following values:

  • LL_OPAMP_INPUT_NONINVERT_IO0
  • LL_OPAMP_INPUT_NONINVERT_DAC1_CH1
Return values:
None

Definition at line 559 of file stm32l4xx_ll_opamp.h.