pub struct CTIMER1 { /* private fields */ }Expand description
CTIMER1 peripheral
Implementations§
Trait Implementations§
Source§impl Gate for CTIMER1
impl Gate for CTIMER1
type MrccPeriphConfig = CTimerConfig
Source§unsafe fn enable_clock()
unsafe fn enable_clock()
Enable the clock gate. Read more
Source§unsafe fn disable_clock()
unsafe fn disable_clock()
Disable the clock gate. Read more
Source§unsafe fn release_reset()
unsafe fn release_reset()
Drive the peripheral out of reset. Read more
Source§unsafe fn assert_reset()
unsafe fn assert_reset()
Drive the peripheral into reset. Read more
Source§fn is_clock_enabled() -> bool
fn is_clock_enabled() -> bool
Return whether the clock gate for this peripheral is currently enabled.
Source§fn is_reset_released() -> bool
fn is_reset_released() -> bool
Return whether the peripheral is currently held in reset.
Source§impl Instance for CTIMER1
impl Instance for CTIMER1
Source§const CLOCK_INSTANCE: CTimerInstance = crate::clocks::periph_helpers::CTimerInstance::CTimer1
const CLOCK_INSTANCE: CTimerInstance = crate::clocks::periph_helpers::CTimerInstance::CTimer1
Clock instance
const PERF_INT_INCR: fn() = {perf_counters::incr_interrupt_ctimer1 as fn()}
const PERF_INT_WAKE_INCR: fn() = {perf_counters::incr_interrupt_ctimer1_wake as fn()}
impl CTimerChannel<CTIMER1> for CTIMER1_CH0
impl CTimerChannel<CTIMER1> for CTIMER1_CH1
impl CTimerChannel<CTIMER1> for CTIMER1_CH2
impl CTimerChannel<CTIMER1> for CTIMER1_CH3
impl Copy for CTIMER1
impl PeripheralType for CTIMER1
Auto Trait Implementations§
impl Freeze for CTIMER1
impl RefUnwindSafe for CTIMER1
impl Send for CTIMER1
impl Sync for CTIMER1
impl Unpin for CTIMER1
impl UnwindSafe for CTIMER1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more