stm32-metapac

Crates

git

Versions

stm32h7p5qi

Flavors

Skip to main content

HrtimBmtrgr

Struct HrtimBmtrgr 

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

High Resolution Timer: Burst Mode Trigger Register

Tuple Fields§

§0: u32

Implementations§

§

impl HrtimBmtrgr

pub const fn sw(&self) -> bool

Software start

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

Software start

pub const fn mstrst(&self) -> bool

Master reset or roll-over

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

Master reset or roll-over

pub const fn mstrep(&self) -> bool

Master repetition

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

Master repetition

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

Master Compare X

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

Master Compare X

pub const fn tarst(&self) -> bool

Timer A reset or roll-over

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

Timer A reset or roll-over

pub const fn tarep(&self) -> bool

Timer A repetition

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

Timer A repetition

pub const fn tacmp1(&self) -> bool

Timer A compare 1 event

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

Timer A compare 1 event

pub const fn tacmp2(&self) -> bool

Timer A compare 2 event

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

Timer A compare 2 event

pub const fn tbrst(&self) -> bool

Timer B reset or roll-over

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

Timer B reset or roll-over

pub const fn tbrep(&self) -> bool

Timer B repetition

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

Timer B repetition

pub const fn tbcmp1(&self) -> bool

Timer B compare 1 event

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

Timer B compare 1 event

pub const fn tbcmp2(&self) -> bool

Timer B compare 2 event

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

Timer B compare 2 event

pub const fn tcrst(&self) -> bool

Timer C reset or roll-over

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

Timer C reset or roll-over

pub const fn tcrep(&self) -> bool

Timer C repetition

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

Timer C repetition

pub const fn tccmp1(&self) -> bool

Timer C compare 1 event

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

Timer C compare 1 event

pub const fn tfrst(&self) -> bool

Timer F reset or roll-over

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

Timer F reset or roll-over

pub const fn tdrst(&self) -> bool

Timer D reset or roll-over

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

Timer D reset or roll-over

pub const fn tdrep(&self) -> bool

Timer D repetition

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

Timer D repetition

pub const fn tfrep(&self) -> bool

Timer F repetition

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

Timer F repetition

pub const fn tdcmp2(&self) -> bool

Timer D compare 2 event

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

Timer D compare 2 event

pub const fn tfcmp1(&self) -> bool

Timer F compare 1 event

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

Timer F compare 1 event

pub const fn terep(&self) -> bool

Timer E repetition

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

Timer E repetition

pub const fn tecmp1(&self) -> bool

Timer E compare 1 event

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

Timer E compare 1 event

pub const fn tecmp2(&self) -> bool

Timer E compare 2 event

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

Timer E compare 2 event

pub const fn taeev7(&self) -> bool

Timer A period following external event G

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

Timer A period following external event G

pub const fn tdeev8(&self) -> bool

Timer D period following external event H

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

Timer D period following external event H

pub const fn eev7(&self) -> bool

External event G (TIMA filters applied)

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

External event G (TIMA filters applied)

pub const fn eev8(&self) -> bool

External event H (TIMD filters applied)

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

External event H (TIMD filters applied)

pub const fn ochpev(&self) -> bool

On-chip event

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

On-chip event

Trait Implementations§

§

impl Clone for HrtimBmtrgr

§

fn clone(&self) -> HrtimBmtrgr

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 HrtimBmtrgr

§

impl Default for HrtimBmtrgr

§

fn default() -> HrtimBmtrgr

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

impl Eq for HrtimBmtrgr

§

impl PartialEq for HrtimBmtrgr

§

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

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

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

Inequality operator !=. Read more
§

impl StructuralPartialEq for HrtimBmtrgr

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.