#[repr(C)]
pub struct TC_CHANNEL {
Show 13 fields pub tc_ccr: Reg<TC_CCR_SPEC>, pub tc_cmr: Reg<TC_CMR_SPEC>, pub tc_smmr: Reg<TC_SMMR_SPEC>, pub tc_rab: Reg<TC_RAB_SPEC>, pub tc_cv: Reg<TC_CV_SPEC>, pub tc_ra: Reg<TC_RA_SPEC>, pub tc_rb: Reg<TC_RB_SPEC>, pub tc_rc: Reg<TC_RC_SPEC>, pub tc_sr: Reg<TC_SR_SPEC>, pub tc_ier: Reg<TC_IER_SPEC>, pub tc_idr: Reg<TC_IDR_SPEC>, pub tc_imr: Reg<TC_IMR_SPEC>, pub tc_emr: Reg<TC_EMR_SPEC>,
}
Expand description

Register block

Fields

tc_ccr: Reg<TC_CCR_SPEC>

0x00 - Channel Control Register (channel = 0)

tc_cmr: Reg<TC_CMR_SPEC>

0x04 - Channel Mode Register (channel = 0)

tc_smmr: Reg<TC_SMMR_SPEC>

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

tc_rab: Reg<TC_RAB_SPEC>

0x0c - Register AB (channel = 0)

tc_cv: Reg<TC_CV_SPEC>

0x10 - Counter Value (channel = 0)

tc_ra: Reg<TC_RA_SPEC>

0x14 - Register A (channel = 0)

tc_rb: Reg<TC_RB_SPEC>

0x18 - Register B (channel = 0)

tc_rc: Reg<TC_RC_SPEC>

0x1c - Register C (channel = 0)

tc_sr: Reg<TC_SR_SPEC>

0x20 - Status Register (channel = 0)

tc_ier: Reg<TC_IER_SPEC>

0x24 - Interrupt Enable Register (channel = 0)

tc_idr: Reg<TC_IDR_SPEC>

0x28 - Interrupt Disable Register (channel = 0)

tc_imr: Reg<TC_IMR_SPEC>

0x2c - Interrupt Mask Register (channel = 0)

tc_emr: Reg<TC_EMR_SPEC>

0x30 - Extended 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.