pub struct ClockSystem { /* private fields */ }
Implementations§
Source§impl ClockSystem
impl ClockSystem
pub const fn new() -> ClockSystem
pub fn setup_clocks(&self)
Trait Implementations§
Source§impl PeripheralManagement<NoClockControl> for ClockSystem
impl PeripheralManagement<NoClockControl> for ClockSystem
type RegisterType = CsRegisters
Source§fn get_registers(&self) -> &CsRegisters
fn get_registers(&self) -> &CsRegisters
How to get a reference to the physical hardware registers (the MMIO
struct).
Source§fn get_clock(&self) -> &NoClockControl
fn get_clock(&self) -> &NoClockControl
Which clock feeds this peripheral. Read more
Source§fn before_peripheral_access(&self, _c: &NoClockControl, r: &Self::RegisterType)
fn before_peripheral_access(&self, _c: &NoClockControl, r: &Self::RegisterType)
Called before peripheral access. Read more
Source§fn after_peripheral_access(&self, _c: &NoClockControl, r: &Self::RegisterType)
fn after_peripheral_access(&self, _c: &NoClockControl, r: &Self::RegisterType)
Called after peripheral access. Read more
Auto Trait Implementations§
impl Freeze for ClockSystem
impl !RefUnwindSafe for ClockSystem
impl !Send for ClockSystem
impl !Sync for ClockSystem
impl Unpin for ClockSystem
impl !UnwindSafe for ClockSystem
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