Struct atsam4lc2a_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 waveform_cmr0_alt(&self) -> &Reg<WAVEFORM_CMR_ALT_SPEC>
pub fn waveform_cmr0_alt(&self) -> &Reg<WAVEFORM_CMR_ALT_SPEC>
0x04 - Channel Mode Register Channel
sourcepub fn capture_cmr0(&self) -> &Reg<CAPTURE_CMR_SPEC>
pub fn capture_cmr0(&self) -> &Reg<CAPTURE_CMR_SPEC>
0x04 - Channel Mode Register Channel
sourcepub fn waveform_cmr1_alt(&self) -> &Reg<WAVEFORM_CMR_ALT_SPEC>
pub fn waveform_cmr1_alt(&self) -> &Reg<WAVEFORM_CMR_ALT_SPEC>
0x44 - Channel Mode Register Channel
sourcepub fn capture_cmr1(&self) -> &Reg<CAPTURE_CMR_SPEC>
pub fn capture_cmr1(&self) -> &Reg<CAPTURE_CMR_SPEC>
0x44 - Channel Mode Register Channel
sourcepub fn waveform_cmr2_alt(&self) -> &Reg<WAVEFORM_CMR_ALT_SPEC>
pub fn waveform_cmr2_alt(&self) -> &Reg<WAVEFORM_CMR_ALT_SPEC>
0x84 - Channel Mode Register Channel
sourcepub fn capture_cmr2(&self) -> &Reg<CAPTURE_CMR_SPEC>
pub fn capture_cmr2(&self) -> &Reg<CAPTURE_CMR_SPEC>
0x84 - Channel Mode Register Channel
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