pub struct TCC4 { /* private fields */ }
Expand description
Timer Counter Control
Implementations
sourceimpl TCC4
impl TCC4
sourcepub const PTR: *const RegisterBlock = {0x43001000 as *const tcc0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x43001000 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_mode(&self) -> &Reg<COUNT_DITH6_MODE_SPEC>
pub fn count_dith6_mode(&self) -> &Reg<COUNT_DITH6_MODE_SPEC>
0x34 - Count
sourcepub fn count_dith5_mode(&self) -> &Reg<COUNT_DITH5_MODE_SPEC>
pub fn count_dith5_mode(&self) -> &Reg<COUNT_DITH5_MODE_SPEC>
0x34 - Count
sourcepub fn count_dith4_mode(&self) -> &Reg<COUNT_DITH4_MODE_SPEC>
pub fn count_dith4_mode(&self) -> &Reg<COUNT_DITH4_MODE_SPEC>
0x34 - Count
sourcepub fn count(&self) -> &Reg<COUNT_SPEC>
pub fn count(&self) -> &Reg<COUNT_SPEC>
0x34 - Count
sourcepub fn per_dith6_mode(&self) -> &Reg<PER_DITH6_MODE_SPEC>
pub fn per_dith6_mode(&self) -> &Reg<PER_DITH6_MODE_SPEC>
0x40 - Period
sourcepub fn per_dith5_mode(&self) -> &Reg<PER_DITH5_MODE_SPEC>
pub fn per_dith5_mode(&self) -> &Reg<PER_DITH5_MODE_SPEC>
0x40 - Period
sourcepub fn per_dith4_mode(&self) -> &Reg<PER_DITH4_MODE_SPEC>
pub fn per_dith4_mode(&self) -> &Reg<PER_DITH4_MODE_SPEC>
0x40 - Period
sourcepub fn cc_dith6_mode(&self) -> &[Reg<CC_DITH6_MODE_SPEC>; 6]
pub fn cc_dith6_mode(&self) -> &[Reg<CC_DITH6_MODE_SPEC>; 6]
0x44..0x5c - Compare and Capture
sourcepub fn cc_dith5_mode(&self) -> &[Reg<CC_DITH5_MODE_SPEC>; 6]
pub fn cc_dith5_mode(&self) -> &[Reg<CC_DITH5_MODE_SPEC>; 6]
0x44..0x5c - Compare and Capture
sourcepub fn cc_dith4_mode(&self) -> &[Reg<CC_DITH4_MODE_SPEC>; 6]
pub fn cc_dith4_mode(&self) -> &[Reg<CC_DITH4_MODE_SPEC>; 6]
0x44..0x5c - Compare and Capture
sourcepub fn perbuf_dith6_mode(&self) -> &Reg<PERBUF_DITH6_MODE_SPEC>
pub fn perbuf_dith6_mode(&self) -> &Reg<PERBUF_DITH6_MODE_SPEC>
0x6c - Period Buffer
sourcepub fn perbuf_dith5_mode(&self) -> &Reg<PERBUF_DITH5_MODE_SPEC>
pub fn perbuf_dith5_mode(&self) -> &Reg<PERBUF_DITH5_MODE_SPEC>
0x6c - Period Buffer
sourcepub fn perbuf_dith4_mode(&self) -> &Reg<PERBUF_DITH4_MODE_SPEC>
pub fn perbuf_dith4_mode(&self) -> &Reg<PERBUF_DITH4_MODE_SPEC>
0x6c - Period Buffer
sourcepub fn perbuf(&self) -> &Reg<PERBUF_SPEC>
pub fn perbuf(&self) -> &Reg<PERBUF_SPEC>
0x6c - Period Buffer
sourcepub fn ccbuf_dith6_mode(&self) -> &[Reg<CCBUF_DITH6_MODE_SPEC>; 6]
pub fn ccbuf_dith6_mode(&self) -> &[Reg<CCBUF_DITH6_MODE_SPEC>; 6]
0x70..0x88 - Compare and Capture Buffer
sourcepub fn ccbuf_dith5_mode(&self) -> &[Reg<CCBUF_DITH5_MODE_SPEC>; 6]
pub fn ccbuf_dith5_mode(&self) -> &[Reg<CCBUF_DITH5_MODE_SPEC>; 6]
0x70..0x88 - Compare and Capture Buffer
sourcepub fn ccbuf_dith4_mode(&self) -> &[Reg<CCBUF_DITH4_MODE_SPEC>; 6]
pub fn ccbuf_dith4_mode(&self) -> &[Reg<CCBUF_DITH4_MODE_SPEC>; 6]
0x70..0x88 - Compare and Capture Buffer
sourcepub fn ccbuf(&self) -> &[Reg<CCBUF_SPEC>; 6]
pub fn ccbuf(&self) -> &[Reg<CCBUF_SPEC>; 6]
0x70..0x88 - Compare and Capture Buffer
Trait Implementations
sourceimpl Deref for TCC4
impl Deref for TCC4
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for TCC4
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