Struct avr_device::attiny85::cpu::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub gpior0: GPIOR0,
pub gpior1: GPIOR1,
pub gpior2: GPIOR2,
pub prr: PRR,
pub dwdr: DWDR,
pub clkpr: CLKPR,
pub pllcsr: PLLCSR,
pub osccal: OSCCAL,
pub mcusr: MCUSR,
pub mcucr: MCUCR,
/* private fields */
}
Expand description
Register block
Fields§
§gpior0: GPIOR0
0x00 - General purpose register 0
gpior1: GPIOR1
0x01 - General Purpose register 1
gpior2: GPIOR2
0x02 - General Purpose IO register 2
prr: PRR
0x0f - Power Reduction Register
dwdr: DWDR
0x11 - debugWire data register
clkpr: CLKPR
0x15 - Clock Prescale Register
pllcsr: PLLCSR
0x16 - PLL Control and status register
osccal: OSCCAL
0x20 - Oscillator Calibration Register
mcusr: MCUSR
0x23 - MCU Status register
mcucr: MCUCR
0x24 - MCU Control Register
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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