Struct imxrt_ral::pwm::sm::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock {
Show 43 fields pub SMCNT: RORegister<u16>, pub SMINIT: RWRegister<u16>, pub SMCTRL2: RWRegister<u16>, pub SMCTRL: RWRegister<u16>, pub SMVAL0: RWRegister<u16>, pub SMFRACVAL1: RWRegister<u16>, pub SMVAL1: RWRegister<u16>, pub SMFRACVAL2: RWRegister<u16>, pub SMVAL2: RWRegister<u16>, pub SMFRACVAL3: RWRegister<u16>, pub SMVAL3: RWRegister<u16>, pub SMFRACVAL4: RWRegister<u16>, pub SMVAL4: RWRegister<u16>, pub SMFRACVAL5: RWRegister<u16>, pub SMVAL5: RWRegister<u16>, pub SMFRCTRL: RWRegister<u16>, pub SMOCTRL: RWRegister<u16>, pub SMSTS: RWRegister<u16>, pub SMINTEN: RWRegister<u16>, pub SMDMAEN: RWRegister<u16>, pub SMTCTRL: RWRegister<u16>, pub SMDISMAP0: RWRegister<u16>, pub SMDISMAP1: RWRegister<u16>, pub SMDTCNT0: RWRegister<u16>, pub SMDTCNT1: RWRegister<u16>, pub SMCAPTCTRLA: RWRegister<u16>, pub SMCAPTCOMPA: RWRegister<u16>, pub SMCAPTCTRLB: RWRegister<u16>, pub SMCAPTCOMPB: RWRegister<u16>, pub SMCAPTCTRLX: RWRegister<u16>, pub SMCAPTCOMPX: RWRegister<u16>, pub SMCVAL0: RORegister<u16>, pub SMCVAL0CYC: RORegister<u16>, pub SMCVAL1: RORegister<u16>, pub SMCVAL1CYC: RORegister<u16>, pub SMCVAL2: RORegister<u16>, pub SMCVAL2CYC: RORegister<u16>, pub SMCVAL3: RORegister<u16>, pub SMCVAL3CYC: RORegister<u16>, pub SMCVAL4: RORegister<u16>, pub SMCVAL4CYC: RORegister<u16>, pub SMCVAL5: RORegister<u16>, pub SMCVAL5CYC: RORegister<u16>, /* private fields */
}
Expand description

Cluster SM%s, containing SM?CNT, SM?INIT, SM?CTRL2, SM?CTRL, SM?VAL0, SM?FRACVAL1, SM?VAL1, SM?FRACVAL2, SM?VAL2, SM?FRACVAL3, SM?VAL3, SM?FRACVAL4, SM?VAL4, SM?FRACVAL5, SM?VAL5, SM?FRCTRL, SM?OCTRL, SM?STS, SM?INTEN, SM?DMAEN, SM?TCTRL, SM?DISMAP0, SM?DISMAP1, SM?DTCNT0, SM?DTCNT1, SM?CAPTCTRLA, SM?CAPTCOMPA, SM?CAPTCTRLB, SM?CAPTCOMPB, SM?CAPTCTRLX, SM?CAPTCOMPX, SM?CVAL0, SM?CVAL0CYC, SM?CVAL1, SM?CVAL1CYC, SM?CVAL2, SM?CVAL2CYC, SM?CVAL3, SM?CVAL3CYC, SM?CVAL4, SM?CVAL4CYC, SM?CVAL5, SM?CVAL5CYC

Fields§

§SMCNT: RORegister<u16>

Counter Register

§SMINIT: RWRegister<u16>

Initial Count Register

§SMCTRL2: RWRegister<u16>

Control 2 Register

§SMCTRL: RWRegister<u16>

Control Register

§SMVAL0: RWRegister<u16>

Value Register 0

§SMFRACVAL1: RWRegister<u16>

Fractional Value Register 1

§SMVAL1: RWRegister<u16>

Value Register 1

§SMFRACVAL2: RWRegister<u16>

Fractional Value Register 2

§SMVAL2: RWRegister<u16>

Value Register 2

§SMFRACVAL3: RWRegister<u16>

Fractional Value Register 3

§SMVAL3: RWRegister<u16>

Value Register 3

§SMFRACVAL4: RWRegister<u16>

Fractional Value Register 4

§SMVAL4: RWRegister<u16>

Value Register 4

§SMFRACVAL5: RWRegister<u16>

Fractional Value Register 5

§SMVAL5: RWRegister<u16>

Value Register 5

§SMFRCTRL: RWRegister<u16>

Fractional Control Register

§SMOCTRL: RWRegister<u16>

Output Control Register

§SMSTS: RWRegister<u16>

Status Register

§SMINTEN: RWRegister<u16>

Interrupt Enable Register

§SMDMAEN: RWRegister<u16>

DMA Enable Register

§SMTCTRL: RWRegister<u16>

Output Trigger Control Register

§SMDISMAP0: RWRegister<u16>

Fault Disable Mapping Register 0

§SMDISMAP1: RWRegister<u16>

Fault Disable Mapping Register 1

§SMDTCNT0: RWRegister<u16>

Deadtime Count Register 0

§SMDTCNT1: RWRegister<u16>

Deadtime Count Register 1

§SMCAPTCTRLA: RWRegister<u16>

Capture Control A Register

§SMCAPTCOMPA: RWRegister<u16>

Capture Compare A Register

§SMCAPTCTRLB: RWRegister<u16>

Capture Control B Register

§SMCAPTCOMPB: RWRegister<u16>

Capture Compare B Register

§SMCAPTCTRLX: RWRegister<u16>

Capture Control X Register

§SMCAPTCOMPX: RWRegister<u16>

Capture Compare X Register

§SMCVAL0: RORegister<u16>

Capture Value 0 Register

§SMCVAL0CYC: RORegister<u16>

Capture Value 0 Cycle Register

§SMCVAL1: RORegister<u16>

Capture Value 1 Register

§SMCVAL1CYC: RORegister<u16>

Capture Value 1 Cycle Register

§SMCVAL2: RORegister<u16>

Capture Value 2 Register

§SMCVAL2CYC: RORegister<u16>

Capture Value 2 Cycle Register

§SMCVAL3: RORegister<u16>

Capture Value 3 Register

§SMCVAL3CYC: RORegister<u16>

Capture Value 3 Cycle Register

§SMCVAL4: RORegister<u16>

Capture Value 4 Register

§SMCVAL4CYC: RORegister<u16>

Capture Value 4 Cycle Register

§SMCVAL5: RORegister<u16>

Capture Value 5 Register

§SMCVAL5CYC: RORegister<u16>

Capture Value 5 Cycle Register

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

§

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

§

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.