pub struct TCC0 { /* private fields */ }
Expand description
Timer Counter Control 0
Implementations
sourceimpl TCC0
impl TCC0
sourcepub const PTR: *const RegisterBlock = {0x42002000 as *const tcc0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x42002000 as *const tcc0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Methods from Deref<Target = RegisterBlock>
sourcepub fn count_dith6(&self) -> &Reg<COUNT_DITH6_SPEC>
pub fn count_dith6(&self) -> &Reg<COUNT_DITH6_SPEC>
0x34 - Count
sourcepub fn count_dith5(&self) -> &Reg<COUNT_DITH5_SPEC>
pub fn count_dith5(&self) -> &Reg<COUNT_DITH5_SPEC>
0x34 - Count
sourcepub fn count_dith4(&self) -> &Reg<COUNT_DITH4_SPEC>
pub fn count_dith4(&self) -> &Reg<COUNT_DITH4_SPEC>
0x34 - Count
sourcepub fn count(&self) -> &Reg<COUNT_SPEC>
pub fn count(&self) -> &Reg<COUNT_SPEC>
0x34 - Count
sourcepub fn per_dith6(&self) -> &Reg<PER_DITH6_SPEC>
pub fn per_dith6(&self) -> &Reg<PER_DITH6_SPEC>
0x40 - Period
sourcepub fn per_dith5(&self) -> &Reg<PER_DITH5_SPEC>
pub fn per_dith5(&self) -> &Reg<PER_DITH5_SPEC>
0x40 - Period
sourcepub fn per_dith4(&self) -> &Reg<PER_DITH4_SPEC>
pub fn per_dith4(&self) -> &Reg<PER_DITH4_SPEC>
0x40 - Period
sourcepub fn cc_dith6(&self) -> &[Reg<CC_DITH6_SPEC>; 4]
pub fn cc_dith6(&self) -> &[Reg<CC_DITH6_SPEC>; 4]
0x44..0x54 - Compare and Capture
sourcepub fn cc_dith5(&self) -> &[Reg<CC_DITH5_SPEC>; 4]
pub fn cc_dith5(&self) -> &[Reg<CC_DITH5_SPEC>; 4]
0x44..0x54 - Compare and Capture
sourcepub fn cc_dith4(&self) -> &[Reg<CC_DITH4_SPEC>; 4]
pub fn cc_dith4(&self) -> &[Reg<CC_DITH4_SPEC>; 4]
0x44..0x54 - Compare and Capture
sourcepub fn perb_dith6(&self) -> &Reg<PERB_DITH6_SPEC>
pub fn perb_dith6(&self) -> &Reg<PERB_DITH6_SPEC>
0x6c - Period Buffer
sourcepub fn perb_dith5(&self) -> &Reg<PERB_DITH5_SPEC>
pub fn perb_dith5(&self) -> &Reg<PERB_DITH5_SPEC>
0x6c - Period Buffer
sourcepub fn perb_dith4(&self) -> &Reg<PERB_DITH4_SPEC>
pub fn perb_dith4(&self) -> &Reg<PERB_DITH4_SPEC>
0x6c - Period Buffer
sourcepub fn ccb_dith6(&self) -> &[Reg<CCB_DITH6_SPEC>; 4]
pub fn ccb_dith6(&self) -> &[Reg<CCB_DITH6_SPEC>; 4]
0x70..0x80 - Compare and Capture Buffer
sourcepub fn ccb_dith5(&self) -> &[Reg<CCB_DITH5_SPEC>; 4]
pub fn ccb_dith5(&self) -> &[Reg<CCB_DITH5_SPEC>; 4]
0x70..0x80 - Compare and Capture Buffer
sourcepub fn ccb_dith4(&self) -> &[Reg<CCB_DITH4_SPEC>; 4]
pub fn ccb_dith4(&self) -> &[Reg<CCB_DITH4_SPEC>; 4]
0x70..0x80 - Compare and Capture Buffer
Trait Implementations
sourceimpl Deref for TCC0
impl Deref for TCC0
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for TCC0
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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