Struct atsams70q19::tc0::TC_CHANNEL
source · [−]#[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
impl !RefUnwindSafe for TC_CHANNEL
impl Send for TC_CHANNEL
impl !Sync for TC_CHANNEL
impl Unpin for TC_CHANNEL
impl UnwindSafe for TC_CHANNEL
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more