LL VREFBUF Functions

LL VREFBUF Functions

group VREFBUF_LL_Exported_Functions

Functions

void LL_VREFBUF_SetMode ( VREFBUF_TypeDef * vrefbufx , uint32_t mode )

Set the functional mode.

Reference Manual to LL API cross reference (Register Field Functions)

CSR HIZ LL_VREFBUF_SetMode

CSR ENVR LL_VREFBUF_SetMode

Parameters :
uint32_t LL_VREFBUF_GetMode ( const VREFBUF_TypeDef * vrefbufx )

Get the functional mode.

Reference Manual to LL API cross reference (Register Field Functions)

CSR HIZ LL_VREFBUF_GetMode

CSR ENVR LL_VREFBUF_GetMode

Parameters :

vrefbufx – Pointer to VREFBUF instance

Return values :

Returned – value can be one of the following values:

void LL_VREFBUF_SetVoltageScale ( VREFBUF_TypeDef * vrefbufx , uint32_t voltage_scale )

Set the Voltage reference scale.

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CSR VRS LL_VREFBUF_SetVoltageScale

Parameters :
uint32_t LL_VREFBUF_GetVoltageScale ( const VREFBUF_TypeDef * vrefbufx )

Get the Voltage reference scale.

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CSR VRS LL_VREFBUF_GetVoltageScale

Parameters :

vrefbufx – Pointer to VREFBUF instance

Return values :

Returned – value can be one of the following values:

uint32_t LL_VREFBUF_GetTrimming ( const VREFBUF_TypeDef * vrefbufx )

Get the trimming code for VREFBUF calibration.

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CCR TRIM LL_VREFBUF_GetTrimming

Parameters :

vrefbufx – Pointer to VREFBUF instance

Return values :

Between – 0 and 0x3F

void LL_VREFBUF_SetTrimming ( VREFBUF_TypeDef * vrefbufx , uint32_t trimming_value )

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

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CCR TRIM LL_VREFBUF_SetTrimming

Parameters :
  • vrefbufx – Pointer to VREFBUF instance

  • trimming_value – Between 0 and 0x3F

void LL_VREFBUF_Enable ( VREFBUF_TypeDef * vrefbufx )

Enable Internal voltage reference.

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CSR ENVR LL_VREFBUF_Enable

Parameters :

vrefbufx – Pointer to VREFBUF instance

void LL_VREFBUF_Disable ( VREFBUF_TypeDef * vrefbufx )

Disable Internal voltage reference.

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CSR ENVR LL_VREFBUF_Disable

Parameters :

vrefbufx – Pointer to VREFBUF instance

void LL_VREFBUF_EnableHIZ ( VREFBUF_TypeDef * vrefbufx )

Enable high impedance (VREF+ pin is high impedance).

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CSR HIZ LL_VREFBUF_EnableHIZ

Parameters :

vrefbufx – Pointer to VREFBUF instance

void LL_VREFBUF_DisableHIZ ( VREFBUF_TypeDef * vrefbufx )

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

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CSR HIZ LL_VREFBUF_DisableHIZ

Parameters :

vrefbufx – Pointer to VREFBUF instance

uint32_t LL_VREFBUF_IsEnabledHIZ ( const VREFBUF_TypeDef * vrefbufx )

Check if high impedance is enable.

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CSR HIZ LL_VREFBUF_IsEnabledHIZ

Parameters :

vrefbufx – Pointer to VREFBUF instance

Return values :

State – of bit (1 or 0).

uint32_t LL_VREFBUF_IsVREFReady ( const VREFBUF_TypeDef * vrefbufx )

Check if Voltage reference buffer is ready.

Reference Manual to LL API cross reference (Register Field Functions)

VREFBUF_CSR VRR LL_VREFBUF_IsVREFReady

Parameters :

vrefbufx – Pointer to VREFBUF instance

Return values :

State – of bit (1 or 0).