pub struct AvrCpuControlBlock { /* private fields */ }
Trait Implementations§
source§impl Cpu for AvrCpuControlBlock
impl Cpu for AvrCpuControlBlock
source§unsafe fn write_protected(
&mut self,
_change: ConfigurationChange,
register: &mut u8,
value: u8
)
unsafe fn write_protected( &mut self, _change: ConfigurationChange, register: &mut u8, value: u8 )
Write to a protected register.
source§unsafe fn write_sreg(&mut self, sreg: u8)
unsafe fn write_sreg(&mut self, sreg: u8)
Write the status register
source§fn interrupts_enabled(&self) -> bool
fn interrupts_enabled(&self) -> bool
Return true iff interrupts are enabled
Auto Trait Implementations§
impl Freeze for AvrCpuControlBlock
impl RefUnwindSafe for AvrCpuControlBlock
impl Send for AvrCpuControlBlock
impl Sync for AvrCpuControlBlock
impl Unpin for AvrCpuControlBlock
impl UnwindSafe for AvrCpuControlBlock
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