avr_device/devices/attiny85/
cpu.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - General purpose register 0"]
5 pub gpior0: GPIOR0,
6 #[doc = "0x01 - General Purpose register 1"]
7 pub gpior1: GPIOR1,
8 #[doc = "0x02 - General Purpose IO register 2"]
9 pub gpior2: GPIOR2,
10 _reserved3: [u8; 0x0c],
11 #[doc = "0x0f - Power Reduction Register"]
12 pub prr: PRR,
13 _reserved4: [u8; 0x01],
14 #[doc = "0x11 - debugWire data register"]
15 pub dwdr: DWDR,
16 _reserved5: [u8; 0x03],
17 #[doc = "0x15 - Clock Prescale Register"]
18 pub clkpr: CLKPR,
19 #[doc = "0x16 - PLL Control and status register"]
20 pub pllcsr: PLLCSR,
21 _reserved7: [u8; 0x09],
22 #[doc = "0x20 - Oscillator Calibration Register"]
23 pub osccal: OSCCAL,
24 _reserved8: [u8; 0x02],
25 #[doc = "0x23 - MCU Status register"]
26 pub mcusr: MCUSR,
27 #[doc = "0x24 - MCU Control Register"]
28 pub mcucr: MCUCR,
29}
30#[doc = "CLKPR (rw) register accessor: an alias for `Reg<CLKPR_SPEC>`"]
31pub type CLKPR = crate::Reg<clkpr::CLKPR_SPEC>;
32#[doc = "Clock Prescale Register"]
33pub mod clkpr;
34#[doc = "DWDR (rw) register accessor: an alias for `Reg<DWDR_SPEC>`"]
35pub type DWDR = crate::Reg<dwdr::DWDR_SPEC>;
36#[doc = "debugWire data register"]
37pub mod dwdr;
38#[doc = "GPIOR0 (rw) register accessor: an alias for `Reg<GPIOR0_SPEC>`"]
39pub type GPIOR0 = crate::Reg<gpior0::GPIOR0_SPEC>;
40#[doc = "General purpose register 0"]
41pub mod gpior0;
42#[doc = "GPIOR1 (rw) register accessor: an alias for `Reg<GPIOR1_SPEC>`"]
43pub type GPIOR1 = crate::Reg<gpior1::GPIOR1_SPEC>;
44#[doc = "General Purpose register 1"]
45pub mod gpior1;
46#[doc = "GPIOR2 (rw) register accessor: an alias for `Reg<GPIOR2_SPEC>`"]
47pub type GPIOR2 = crate::Reg<gpior2::GPIOR2_SPEC>;
48#[doc = "General Purpose IO register 2"]
49pub mod gpior2;
50#[doc = "MCUCR (rw) register accessor: an alias for `Reg<MCUCR_SPEC>`"]
51pub type MCUCR = crate::Reg<mcucr::MCUCR_SPEC>;
52#[doc = "MCU Control Register"]
53pub mod mcucr;
54#[doc = "MCUSR (rw) register accessor: an alias for `Reg<MCUSR_SPEC>`"]
55pub type MCUSR = crate::Reg<mcusr::MCUSR_SPEC>;
56#[doc = "MCU Status register"]
57pub mod mcusr;
58#[doc = "OSCCAL (rw) register accessor: an alias for `Reg<OSCCAL_SPEC>`"]
59pub type OSCCAL = crate::Reg<osccal::OSCCAL_SPEC>;
60#[doc = "Oscillator Calibration Register"]
61pub mod osccal;
62#[doc = "PLLCSR (rw) register accessor: an alias for `Reg<PLLCSR_SPEC>`"]
63pub type PLLCSR = crate::Reg<pllcsr::PLLCSR_SPEC>;
64#[doc = "PLL Control and status register"]
65pub mod pllcsr;
66#[doc = "PRR (rw) register accessor: an alias for `Reg<PRR_SPEC>`"]
67pub type PRR = crate::Reg<prr::PRR_SPEC>;
68#[doc = "Power Reduction Register"]
69pub mod prr;