Type Alias avr_oxide::hal::atmega4809::cpu::CpuImpl

source ·
pub type CpuImpl = AvrCpuControlBlock;

Aliased Type§

struct CpuImpl { /* private fields */ }

Trait Implementations

source§

impl Cpu for AvrCpuControlBlock

source§

unsafe fn write_protected( &mut self, _change: ConfigurationChange, register: &mut u8, value: u8 )

Write to a protected register.
source§

fn read_sp(&self) -> u16

Read the current stack pointer. Read more
source§

unsafe fn write_sp(&mut self, _sp: u16)

Write the stack pointer. Read more
source§

fn read_sreg(&self) -> u8

Read the current status register
source§

unsafe fn write_sreg(&mut self, sreg: u8)

Write the status register
source§

fn interrupts_enabled(&self) -> bool

Return true iff interrupts are enabled
source§

fn in_isr(&self) -> bool

Return true iff we are inside an interrupt service routine