Struct stm32_metapac::syscfg::regs::VrefbufCsr
#[repr(transparent)]pub struct VrefbufCsr(pub u32);
Expand description
VREFBUF control and status register
Tuple Fields§
§0: u32
Implementations§
§impl VrefbufCsr
impl VrefbufCsr
pub const fn envr(&self) -> bool
pub const fn envr(&self) -> bool
Voltage reference buffer mode enable This bit is used to enable the voltage reference buffer mode.
pub fn set_envr(&mut self, val: bool)
pub fn set_envr(&mut self, val: bool)
Voltage reference buffer mode enable This bit is used to enable the voltage reference buffer mode.
pub const fn hiz(&self) -> bool
pub const fn hiz(&self) -> bool
High impedance mode This bit controls the analog switch to connect or not the VREF+ pin. Refer to Table196: VREF buffer modes for the mode descriptions depending on ENVR bit configuration.
pub fn set_hiz(&mut self, val: bool)
pub fn set_hiz(&mut self, val: bool)
High impedance mode This bit controls the analog switch to connect or not the VREF+ pin. Refer to Table196: VREF buffer modes for the mode descriptions depending on ENVR bit configuration.
Trait Implementations§
§impl Clone for VrefbufCsr
impl Clone for VrefbufCsr
§fn clone(&self) -> VrefbufCsr
fn clone(&self) -> VrefbufCsr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for VrefbufCsr
impl Default for VrefbufCsr
§fn default() -> VrefbufCsr
fn default() -> VrefbufCsr
Returns the “default value” for a type. Read more
§impl PartialEq for VrefbufCsr
impl PartialEq for VrefbufCsr
impl Copy for VrefbufCsr
impl Eq for VrefbufCsr
impl StructuralPartialEq for VrefbufCsr
Auto Trait Implementations§
impl Freeze for VrefbufCsr
impl RefUnwindSafe for VrefbufCsr
impl Send for VrefbufCsr
impl Sync for VrefbufCsr
impl Unpin for VrefbufCsr
impl UnwindSafe for VrefbufCsr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)