Module csr

Module csr 

Source
Expand description

VREFBUF control and status register

Structs§

CSRrs
VREFBUF control and status register

Type Aliases§

ENVR_R
Field ENVR reader - Voltage reference buffer mode enable This bit is used to enable the voltage reference buffer mode.
ENVR_W
Field ENVR writer - Voltage reference buffer mode enable This bit is used to enable the voltage reference buffer mode.
HIZ_R
Field HIZ reader - High impedance mode This bit controls the analog switch to connect or not the VREF+ pin. Refer to for the mode descriptions depending on ENVR bit configuration.
HIZ_W
Field HIZ writer - High impedance mode This bit controls the analog switch to connect or not the VREF+ pin. Refer to for the mode descriptions depending on ENVR bit configuration.
R
Register CSR reader
VRR_R
Field VRR reader - Voltage reference buffer ready
VRS_R
Field VRS reader - Voltage reference scale These bits select the value generated by the voltage reference buffer. VRS = 000: VREFBUF0 voltage selected. VRS = 001: VREFBUF1 voltage selected. VRS = 010: VREFBUF2 voltage selected. VRS = 011: VREFBUF3 voltage selected. Others: Reserved Note: Refer to the product datasheet for each VREFBUFx voltage setting value. The software can program this bitfield only when the VREFBUF is disabled (ENVR=0).
VRS_W
Field VRS writer - Voltage reference scale These bits select the value generated by the voltage reference buffer. VRS = 000: VREFBUF0 voltage selected. VRS = 001: VREFBUF1 voltage selected. VRS = 010: VREFBUF2 voltage selected. VRS = 011: VREFBUF3 voltage selected. Others: Reserved Note: Refer to the product datasheet for each VREFBUFx voltage setting value. The software can program this bitfield only when the VREFBUF is disabled (ENVR=0).
W
Register CSR writer