embassy-stm32

Crates

git

Versions

stm32g474qc

Flavors

Parts

Struct Parts 

Source
pub struct Parts {
    pub control: HrTimOngoingCalibration,
    pub master: HRTIM_MASTER,
    pub tima: HRTIM_TIMA,
    pub timb: HRTIM_TIMB,
    pub timc: HRTIM_TIMC,
    pub timd: HRTIM_TIMD,
    pub time: HRTIM_TIME,
    pub timf: HRTIM_TIMF,
}
Expand description

Uninitialized HRTIM resources as returned by HrControltExt::hr_control

Fields§

§control: HrTimOngoingCalibration

Control resources common for all of the HRTIM instances timers

This needs to be initialized and calibrated by calling HrTimOngoingCalibration::wait_for_calibration

§master: HRTIM_MASTER

Uninitialized MASTER, call HRTIM_MASTER::pwm_advanced to set it up

§tima: HRTIM_TIMA

Uninitialized TIMA, call HRTIM_TIMA::pwm_advanced to set it up

§timb: HRTIM_TIMB

Uninitialized TIMB, call HRTIM_TIMB::pwm_advanced to set it up

§timc: HRTIM_TIMC

Uninitialized TIMC, call HRTIM_TIMC::pwm_advanced to set it up

§timd: HRTIM_TIMD

Uninitialized TIMD, call HRTIM_TIMD::pwm_advanced to set it up

§time: HRTIM_TIME

Uninitialized TIME, call HRTIM_TIME::pwm_advanced to set it up

§timf: HRTIM_TIMF

Uninitialized TIMF, call HRTIM_TIMF::pwm_advanced to set it up

Auto Trait Implementations§

§

impl Freeze for Parts

§

impl !RefUnwindSafe for Parts

§

impl Send for Parts

§

impl !Sync for Parts

§

impl Unpin for Parts

§

impl UnwindSafe for Parts

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> 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.