Struct atsam4s16c_pac::TC0
source · [−]pub struct TC0 { /* private fields */ }
Expand description
Timer Counter 0
Implementations
sourceimpl TC0
impl TC0
sourcepub const PTR: *const RegisterBlock = {0x40010000 as *const tc0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40010000 as *const tc0::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 wave_eq_1_cmr0_wave_eq_1(&self) -> &Reg<WAVE_EQ_1_CMR0_WAVE_EQ_1_SPEC>
pub fn wave_eq_1_cmr0_wave_eq_1(&self) -> &Reg<WAVE_EQ_1_CMR0_WAVE_EQ_1_SPEC>
0x04 - Channel Mode Register (channel = 0)
sourcepub fn wave_eq_1_cmr1_wave_eq_1(&self) -> &Reg<WAVE_EQ_1_CMR1_WAVE_EQ_1_SPEC>
pub fn wave_eq_1_cmr1_wave_eq_1(&self) -> &Reg<WAVE_EQ_1_CMR1_WAVE_EQ_1_SPEC>
0x44 - Channel Mode Register (channel = 1)
sourcepub fn wave_eq_1_cmr2_wave_eq_1(&self) -> &Reg<WAVE_EQ_1_CMR2_WAVE_EQ_1_SPEC>
pub fn wave_eq_1_cmr2_wave_eq_1(&self) -> &Reg<WAVE_EQ_1_CMR2_WAVE_EQ_1_SPEC>
0x84 - Channel Mode Register (channel = 2)
Trait Implementations
sourceimpl Deref for TC0
impl Deref for TC0
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for TC0
Auto Trait Implementations
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