stm32-metapac

Crates

git

Versions

stm32u5f9vi

Flavors

Struct stm32_metapac::adc::regs::Awd3cr

#[repr(transparent)]
pub struct Awd3cr(pub u32);
Expand description

ADC Analog Watchdog 3 Configuration register.

Tuple Fields§

§0: u32

Implementations§

§

impl Awd3cr

pub const fn awd3ch0(&self) -> bool

AWD3CH0.

pub fn set_awd3ch0(&mut self, val: bool)

AWD3CH0.

pub const fn awd3ch1(&self) -> bool

AWD3CH1.

pub fn set_awd3ch1(&mut self, val: bool)

AWD3CH1.

pub const fn awd3ch2(&self) -> bool

AWD3CH2.

pub fn set_awd3ch2(&mut self, val: bool)

AWD3CH2.

pub const fn awd3ch3(&self) -> bool

AWD3CH3.

pub fn set_awd3ch3(&mut self, val: bool)

AWD3CH3.

pub const fn awd3ch4(&self) -> bool

AWD3CH4.

pub fn set_awd3ch4(&mut self, val: bool)

AWD3CH4.

pub const fn awd3ch5(&self) -> bool

AWD3CH5.

pub fn set_awd3ch5(&mut self, val: bool)

AWD3CH5.

pub const fn awd3ch6(&self) -> bool

AWD3CH6.

pub fn set_awd3ch6(&mut self, val: bool)

AWD3CH6.

pub const fn awd3ch7(&self) -> bool

AWD3CH7.

pub fn set_awd3ch7(&mut self, val: bool)

AWD3CH7.

pub const fn awd3ch8(&self) -> bool

AWD3CH8.

pub fn set_awd3ch8(&mut self, val: bool)

AWD3CH8.

pub const fn awd3ch9(&self) -> bool

AWD3CH9.

pub fn set_awd3ch9(&mut self, val: bool)

AWD3CH9.

pub const fn awd3ch10(&self) -> bool

AWD3CH10.

pub fn set_awd3ch10(&mut self, val: bool)

AWD3CH10.

pub const fn awd3ch11(&self) -> bool

AWD3CH11.

pub fn set_awd3ch11(&mut self, val: bool)

AWD3CH11.

pub const fn awd3ch12(&self) -> bool

AWD3CH12.

pub fn set_awd3ch12(&mut self, val: bool)

AWD3CH12.

pub const fn awd3ch13(&self) -> bool

AWD3CH13.

pub fn set_awd3ch13(&mut self, val: bool)

AWD3CH13.

pub const fn awd3ch14(&self) -> bool

AWD3CH14.

pub fn set_awd3ch14(&mut self, val: bool)

AWD3CH14.

pub const fn awd3ch15(&self) -> bool

AWD3CH15.

pub fn set_awd3ch15(&mut self, val: bool)

AWD3CH15.

pub const fn awd3ch16(&self) -> bool

AWD3CH16.

pub fn set_awd3ch16(&mut self, val: bool)

AWD3CH16.

pub const fn awd3ch17(&self) -> bool

AWD3CH17.

pub fn set_awd3ch17(&mut self, val: bool)

AWD3CH17.

pub const fn awd3ch18(&self) -> bool

AWD3CH18.

pub fn set_awd3ch18(&mut self, val: bool)

AWD3CH18.

pub const fn awd3ch19(&self) -> bool

AWD3CH19.

pub fn set_awd3ch19(&mut self, val: bool)

AWD3CH19.

pub const fn awd3ch20(&self) -> bool

AWD3CH20.

pub fn set_awd3ch20(&mut self, val: bool)

AWD3CH20.

pub const fn awd3ch21(&self) -> bool

AWD3CH21.

pub fn set_awd3ch21(&mut self, val: bool)

AWD3CH21.

pub const fn awd3ch22(&self) -> bool

AWD3CH22.

pub fn set_awd3ch22(&mut self, val: bool)

AWD3CH22.

pub const fn awd3ch23(&self) -> bool

AWD3CH23.

pub fn set_awd3ch23(&mut self, val: bool)

AWD3CH23.

Trait Implementations§

§

impl Clone for Awd3cr

§

fn clone(&self) -> Awd3cr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for Awd3cr

§

fn default() -> Awd3cr

Returns the “default value” for a type. Read more
§

impl PartialEq for Awd3cr

§

fn eq(&self, other: &Awd3cr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Awd3cr

§

impl Eq for Awd3cr

§

impl StructuralPartialEq for Awd3cr

Auto Trait Implementations§

§

impl Freeze for Awd3cr

§

impl RefUnwindSafe for Awd3cr

§

impl Send for Awd3cr

§

impl Sync for Awd3cr

§

impl Unpin for Awd3cr

§

impl UnwindSafe for Awd3cr

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.