#[repr(C)]
pub struct TC_CHANNEL { pub ccr: CCR, pub smmr: SMMR, pub rab: RAB, pub cv: CV, pub ra: RA, pub rb: RB, pub rc: RC, pub sr: SR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub emr: EMR, /* private fields */ }
Expand description

Register block

Fields

ccr: CCR

0x00 - Channel Control Register (channel = 0)

smmr: SMMR

0x08 - Stepper Motor Mode Register (channel = 0)

rab: RAB

0x0c - Register AB (channel = 0)

cv: CV

0x10 - Counter Value (channel = 0)

ra: RA

0x14 - Register A (channel = 0)

rb: RB

0x18 - Register B (channel = 0)

rc: RC

0x1c - Register C (channel = 0)

sr: SR

0x20 - Status Register (channel = 0)

ier: IER

0x24 - Interrupt Enable Register (channel = 0)

idr: IDR

0x28 - Interrupt Disable Register (channel = 0)

imr: IMR

0x2c - Interrupt Mask Register (channel = 0)

emr: EMR

0x30 - Extended Mode Register (channel = 0)

Implementations

0x04 - Channel Mode Register (channel = 0)

0x04 - Channel Mode Register (channel = 0)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.