stm32-metapac

Crates

git

Versions

stm32h747zi-cm7

Flavors

Skip to main content

HrtimAdc1r

Struct HrtimAdc1r 

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

High Resolution Timer: ADC Trigger 1 and 3 Register

Tuple Fields§

§0: u32

Implementations§

§

impl HrtimAdc1r

pub const fn adcmc(&self, n: usize) -> bool

ADC trigger 1/3 on master compare X

pub const fn set_adcmc(&mut self, n: usize, val: bool)

ADC trigger 1/3 on master compare X

pub const fn adcmper(&self) -> bool

ADC trigger 1/3 on master period

pub const fn set_adcmper(&mut self, val: bool)

ADC trigger 1/3 on master period

pub const fn adceev(&self, n: usize) -> bool

ADC trigger 1/3 on external event X+1 (X = 0..4)

pub const fn set_adceev(&mut self, n: usize, val: bool)

ADC trigger 1/3 on external event X+1 (X = 0..4)

pub const fn adctac2(&self) -> bool

ADC trigger 1/3 on timer A compare 2

pub const fn set_adctac2(&mut self, val: bool)

ADC trigger 1/3 on timer A compare 2

pub const fn adctac3(&self) -> bool

ADC trigger 1/3 on timer A compare 3

pub const fn set_adctac3(&mut self, val: bool)

ADC trigger 1/3 on timer A compare 3

pub const fn adctac4(&self) -> bool

ADC trigger 1/3 on timer A compare 4

pub const fn set_adctac4(&mut self, val: bool)

ADC trigger 1/3 on timer A compare 4

pub const fn adctaper(&self) -> bool

ADC trigger 1/3 on timer A period

pub const fn set_adctaper(&mut self, val: bool)

ADC trigger 1/3 on timer A period

pub const fn adctarst(&self) -> bool

ADC trigger 1/3 on timer A reset and counter roll-over

pub const fn set_adctarst(&mut self, val: bool)

ADC trigger 1/3 on timer A reset and counter roll-over

pub const fn adctbc2(&self) -> bool

ADC trigger 1/3 on timer B compare 2

pub const fn set_adctbc2(&mut self, val: bool)

ADC trigger 1/3 on timer B compare 2

pub const fn adctbc3(&self) -> bool

ADC trigger 1/3 on timer B compare 3

pub const fn set_adctbc3(&mut self, val: bool)

ADC trigger 1/3 on timer B compare 3

pub const fn adctbc4(&self) -> bool

ADC trigger 1/3 on timer B compare 4

pub const fn set_adctbc4(&mut self, val: bool)

ADC trigger 1/3 on timer B compare 4

pub const fn adctbper(&self) -> bool

ADC trigger 1/3 on timer B period

pub const fn set_adctbper(&mut self, val: bool)

ADC trigger 1/3 on timer B period

pub const fn adctbrst(&self) -> bool

ADC trigger 1/3 on timer B reset and counter roll-over

pub const fn set_adctbrst(&mut self, val: bool)

ADC trigger 1/3 on timer B reset and counter roll-over

pub const fn adctcc2(&self) -> bool

ADC trigger 1/3 on timer C compare 2

pub const fn set_adctcc2(&mut self, val: bool)

ADC trigger 1/3 on timer C compare 2

pub const fn adctcc3(&self) -> bool

ADC trigger 1/3 on timer C compare 3

pub const fn set_adctcc3(&mut self, val: bool)

ADC trigger 1/3 on timer C compare 3

pub const fn adctcc4(&self) -> bool

ADC trigger 1/3 on timer C compare 4

pub const fn set_adctcc4(&mut self, val: bool)

ADC trigger 1/3 on timer C compare 4

pub const fn adctcper(&self) -> bool

ADC trigger 1/3 on timer C period

pub const fn set_adctcper(&mut self, val: bool)

ADC trigger 1/3 on timer C period

pub const fn adctdc2(&self) -> bool

ADC trigger 1/3 on timer D compare 2

pub const fn set_adctdc2(&mut self, val: bool)

ADC trigger 1/3 on timer D compare 2

pub const fn adctdc3(&self) -> bool

ADC trigger 1/3 on timer D compare 3

pub const fn set_adctdc3(&mut self, val: bool)

ADC trigger 1/3 on timer D compare 3

pub const fn adctdc4(&self) -> bool

ADC trigger 1/3 on timer D compare 4

pub const fn set_adctdc4(&mut self, val: bool)

ADC trigger 1/3 on timer D compare 4

pub const fn adctdper(&self) -> bool

ADC trigger 1/3 on timer D period

pub const fn set_adctdper(&mut self, val: bool)

ADC trigger 1/3 on timer D period

pub const fn adctec2(&self) -> bool

ADC trigger 1/3 on timer E compare 2

pub const fn set_adctec2(&mut self, val: bool)

ADC trigger 1/3 on timer E compare 2

pub const fn adctec3(&self) -> bool

ADC trigger 1/3 on timer E compare 3

pub const fn set_adctec3(&mut self, val: bool)

ADC trigger 1/3 on timer E compare 3

pub const fn adctec4(&self) -> bool

ADC trigger 1/3 on timer E compare 4

pub const fn set_adctec4(&mut self, val: bool)

ADC trigger 1/3 on timer E compare 4

pub const fn adcteper(&self) -> bool

ADC trigger 1/3 on timer E period

pub const fn set_adcteper(&mut self, val: bool)

ADC trigger 1/3 on timer E period

Trait Implementations§

§

impl Clone for HrtimAdc1r

§

fn clone(&self) -> HrtimAdc1r

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
§

impl Copy for HrtimAdc1r

§

impl Default for HrtimAdc1r

§

fn default() -> HrtimAdc1r

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

impl Eq for HrtimAdc1r

§

impl PartialEq for HrtimAdc1r

§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
§

impl StructuralPartialEq for HrtimAdc1r

Auto Trait Implementations§

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 = !

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.