pub struct CTimerConfig {
pub power: PoweredClock,
pub source: CTimerClockSel,
pub div: Div4,
/* private fields */
}Expand description
Top level configuration for CTimer instances.
Fields§
§power: PoweredClockPower state required for this peripheral
source: CTimerClockSelClock source
div: Div4Clock divisor
Trait Implementations§
Source§impl SPConfHelper for CTimerConfig
impl SPConfHelper for CTimerConfig
Source§fn pre_enable_config(
&self,
clocks: &Clocks,
) -> Result<PreEnableParts, ClockError>
fn pre_enable_config( &self, clocks: &Clocks, ) -> Result<PreEnableParts, ClockError>
This method is called AFTER a given MRCC peripheral has been disabled, and BEFORE
the peripheral is to be enabled. Read more
Auto Trait Implementations§
impl Freeze for CTimerConfig
impl RefUnwindSafe for CTimerConfig
impl Send for CTimerConfig
impl Sync for CTimerConfig
impl Unpin for CTimerConfig
impl UnwindSafe for CTimerConfig
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