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

VREFBUF

Functions

__STATIC_INLINE void LL_VREFBUF_Enable (void)
 Enable Internal voltage reference VREFBUF_CSR ENVR LL_VREFBUF_Enable.
__STATIC_INLINE void LL_VREFBUF_Disable (void)
 Disable Internal voltage reference VREFBUF_CSR ENVR LL_VREFBUF_Disable.
__STATIC_INLINE void LL_VREFBUF_EnableHIZ (void)
 Enable high impedance (VREF+pin is high impedance) VREFBUF_CSR HIZ LL_VREFBUF_EnableHIZ.
__STATIC_INLINE void LL_VREFBUF_DisableHIZ (void)
 Disable high impedance (VREF+pin is internally connected to the voltage reference buffer output) VREFBUF_CSR HIZ LL_VREFBUF_DisableHIZ.
__STATIC_INLINE void LL_VREFBUF_SetVoltageScaling (uint32_t Scale)
 Set the Voltage reference scale VREFBUF_CSR VRS LL_VREFBUF_SetVoltageScaling.
__STATIC_INLINE uint32_t LL_VREFBUF_GetVoltageScaling (void)
 Get the Voltage reference scale VREFBUF_CSR VRS LL_VREFBUF_GetVoltageScaling.
__STATIC_INLINE uint32_t LL_VREFBUF_IsVREFReady (void)
 Check if Voltage reference buffer is ready VREFBUF_CSR VRR LL_VREFBUF_IsVREFReady.
__STATIC_INLINE uint32_t LL_VREFBUF_GetTrimming (void)
 Get the trimming code for VREFBUF calibration VREFBUF_CCR TRIM LL_VREFBUF_GetTrimming.
__STATIC_INLINE void LL_VREFBUF_SetTrimming (uint32_t Value)
 Set the trimming code for VREFBUF calibration (Tune the internal reference buffer voltage) VREFBUF_CCR TRIM LL_VREFBUF_SetTrimming.

Function Documentation

__STATIC_INLINE void LL_VREFBUF_Disable ( void   )

Disable Internal voltage reference VREFBUF_CSR ENVR LL_VREFBUF_Disable.

Return values:
None

Definition at line 1116 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_VREFBUF_DisableHIZ ( void   )

Disable high impedance (VREF+pin is internally connected to the voltage reference buffer output) VREFBUF_CSR HIZ LL_VREFBUF_DisableHIZ.

Return values:
None

Definition at line 1136 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_VREFBUF_Enable ( void   )

Enable Internal voltage reference VREFBUF_CSR ENVR LL_VREFBUF_Enable.

Return values:
None

Definition at line 1106 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_VREFBUF_EnableHIZ ( void   )

Enable high impedance (VREF+pin is high impedance) VREFBUF_CSR HIZ LL_VREFBUF_EnableHIZ.

Return values:
None

Definition at line 1126 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_VREFBUF_GetTrimming ( void   )

Get the trimming code for VREFBUF calibration VREFBUF_CCR TRIM LL_VREFBUF_GetTrimming.

Return values:
Between0 and 0x3F

Definition at line 1181 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_VREFBUF_GetVoltageScaling ( void   )

Get the Voltage reference scale VREFBUF_CSR VRS LL_VREFBUF_GetVoltageScaling.

Return values:
Returnedvalue can be one of the following values:

  • LL_VREFBUF_VOLTAGE_SCALE0
  • LL_VREFBUF_VOLTAGE_SCALE1

Definition at line 1161 of file stm32l4xx_ll_system.h.

__STATIC_INLINE uint32_t LL_VREFBUF_IsVREFReady ( void   )

Check if Voltage reference buffer is ready VREFBUF_CSR VRR LL_VREFBUF_IsVREFReady.

Return values:
Stateof bit (1 or 0).

Definition at line 1171 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_VREFBUF_SetTrimming ( uint32_t  Value )

Set the trimming code for VREFBUF calibration (Tune the internal reference buffer voltage) VREFBUF_CCR TRIM LL_VREFBUF_SetTrimming.

Parameters:
ValueBetween 0 and 0x3F
Return values:
None

Definition at line 1192 of file stm32l4xx_ll_system.h.

__STATIC_INLINE void LL_VREFBUF_SetVoltageScaling ( uint32_t  Scale )

Set the Voltage reference scale VREFBUF_CSR VRS LL_VREFBUF_SetVoltageScaling.

Parameters:
ScaleThis parameter can be one of the following values:

  • LL_VREFBUF_VOLTAGE_SCALE0
  • LL_VREFBUF_VOLTAGE_SCALE1
Return values:
None

Definition at line 1149 of file stm32l4xx_ll_system.h.