Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Configuration of OPAMP inputs

Configuration of OPAMP inputs
[OPAMP Exported Functions]

Functions

__STATIC_INLINE void LL_OPAMP_SetInvertingInput (OPAMP_TypeDef *OPAMPx, uint32_t InvertingInput)
 Set OPAMP inverting input connection.
__STATIC_INLINE uint32_t LL_OPAMP_GetInvertingInput (OPAMP_TypeDef *OPAMPx)
 Get OPAMP inverting input connection.
__STATIC_INLINE void LL_OPAMP_SetNonInvertingInput (OPAMP_TypeDef *OPAMPx, uint32_t NonInvertingInput)
 Set OPAMP non-inverting input connection.
__STATIC_INLINE uint32_t LL_OPAMP_GetNonInvertingInput (OPAMP_TypeDef *OPAMPx)
 Get OPAMP non-inverting input connection.

Function Documentation

__STATIC_INLINE uint32_t LL_OPAMP_GetInvertingInput ( OPAMP_TypeDef *  OPAMPx )

Get OPAMP inverting input connection.

CSR VMSEL LL_OPAMP_GetInvertingInput

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

  • LL_OPAMP_INVERTINGINPUT_IO0
  • LL_OPAMP_INVERTINGINPUT_IO1
  • LL_OPAMP_INVERTINGINPUT_CONNECT_NO

Definition at line 446 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE uint32_t LL_OPAMP_GetNonInvertingInput ( OPAMP_TypeDef *  OPAMPx )

Get OPAMP non-inverting input connection.

CSR VPSEL LL_OPAMP_GetNonInvertingInput

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

  • LL_OPAMP_NONINVERTINGINPUT_IO0
  • LL_OPAMP_NONINVERTINGINPUT_DAC_CH

Definition at line 473 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE void LL_OPAMP_SetInvertingInput ( OPAMP_TypeDef *  OPAMPx,
uint32_t  InvertingInput 
)

Set OPAMP inverting input connection.

CSR VMSEL LL_OPAMP_SetInvertingInput

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

  • LL_OPAMP_INVERTINGINPUT_IO0
  • LL_OPAMP_INVERTINGINPUT_IO1
  • LL_OPAMP_INVERTINGINPUT_CONNECT_NO
Return values:
None

Definition at line 432 of file stm32l4xx_ll_opamp.h.

__STATIC_INLINE void LL_OPAMP_SetNonInvertingInput ( OPAMP_TypeDef *  OPAMPx,
uint32_t  NonInvertingInput 
)

Set OPAMP non-inverting input connection.

CSR VPSEL LL_OPAMP_SetNonInvertingInput

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

  • LL_OPAMP_NONINVERTINGINPUT_IO0
  • LL_OPAMP_NONINVERTINGINPUT_DAC_CH
Return values:
None

Definition at line 460 of file stm32l4xx_ll_opamp.h.