Struct atsame70n20_pac::tc0::TC_CHANNEL [−][src]
#[repr(C)]pub struct TC_CHANNEL {Show 13 fields
pub ccr: Reg<CCR_SPEC>,
pub cmr: Reg<CMR_SPEC>,
pub smmr: Reg<SMMR_SPEC>,
pub rab: Reg<RAB_SPEC>,
pub cv: Reg<CV_SPEC>,
pub ra: Reg<RA_SPEC>,
pub rb: Reg<RB_SPEC>,
pub rc: Reg<RC_SPEC>,
pub sr: Reg<SR_SPEC>,
pub ier: Reg<IER_SPEC>,
pub idr: Reg<IDR_SPEC>,
pub imr: Reg<IMR_SPEC>,
pub emr: Reg<EMR_SPEC>,
}
Expand description
Register block
Fields
ccr: Reg<CCR_SPEC>
0x00 - Channel Control Register (channel = 0)
cmr: Reg<CMR_SPEC>
0x04 - Channel Mode Register (channel = 0)
smmr: Reg<SMMR_SPEC>
0x08 - Stepper Motor Mode Register (channel = 0)
rab: Reg<RAB_SPEC>
0x0c - Register AB (channel = 0)
cv: Reg<CV_SPEC>
0x10 - Counter Value (channel = 0)
ra: Reg<RA_SPEC>
0x14 - Register A (channel = 0)
rb: Reg<RB_SPEC>
0x18 - Register B (channel = 0)
rc: Reg<RC_SPEC>
0x1c - Register C (channel = 0)
sr: Reg<SR_SPEC>
0x20 - Status Register (channel = 0)
ier: Reg<IER_SPEC>
0x24 - Interrupt Enable Register (channel = 0)
idr: Reg<IDR_SPEC>
0x28 - Interrupt Disable Register (channel = 0)
imr: Reg<IMR_SPEC>
0x2c - Interrupt Mask Register (channel = 0)
emr: Reg<EMR_SPEC>
0x30 - Extended Mode Register (channel = 0)