1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - MCU Control And Status Register"]
    pub mcucsr: MCUCSR,
    #[doc = "0x01 - MCU Control Register"]
    pub mcucr: MCUCR,
    _reserved2: [u8; 6usize],
    #[doc = "0x08 - XTAL Divide Control Register"]
    pub xdiv: XDIV,
    _reserved3: [u8; 15usize],
    #[doc = "0x18 - External Memory Control Register B"]
    pub xmcrb: XMCRB,
    #[doc = "0x19 - External Memory Control Register A"]
    pub xmcra: XMCRA,
    _reserved5: [u8; 1usize],
    #[doc = "0x1b - Oscillator Calibration Value"]
    pub osccal: OSCCAL,
}
#[doc = "MCU Control Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [mcucr](mcucr) module"]
pub type MCUCR = crate::Reg<u8, _MCUCR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MCUCR;
#[doc = "`read()` method returns [mcucr::R](mcucr::R) reader structure"]
impl crate::Readable for MCUCR {}
#[doc = "`write(|w| ..)` method takes [mcucr::W](mcucr::W) writer structure"]
impl crate::Writable for MCUCR {}
#[doc = "MCU Control Register"]
pub mod mcucr;
#[doc = "MCU Control And Status Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [mcucsr](mcucsr) module"]
pub type MCUCSR = crate::Reg<u8, _MCUCSR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MCUCSR;
#[doc = "`read()` method returns [mcucsr::R](mcucsr::R) reader structure"]
impl crate::Readable for MCUCSR {}
#[doc = "`write(|w| ..)` method takes [mcucsr::W](mcucsr::W) writer structure"]
impl crate::Writable for MCUCSR {}
#[doc = "MCU Control And Status Register"]
pub mod mcucsr;
#[doc = "Oscillator Calibration Value\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [osccal](osccal) module"]
pub type OSCCAL = crate::Reg<u8, _OSCCAL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OSCCAL;
#[doc = "`read()` method returns [osccal::R](osccal::R) reader structure"]
impl crate::Readable for OSCCAL {}
#[doc = "`write(|w| ..)` method takes [osccal::W](osccal::W) writer structure"]
impl crate::Writable for OSCCAL {}
#[doc = "Oscillator Calibration Value"]
pub mod osccal;
#[doc = "XTAL Divide Control Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [xdiv](xdiv) module"]
pub type XDIV = crate::Reg<u8, _XDIV>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _XDIV;
#[doc = "`read()` method returns [xdiv::R](xdiv::R) reader structure"]
impl crate::Readable for XDIV {}
#[doc = "`write(|w| ..)` method takes [xdiv::W](xdiv::W) writer structure"]
impl crate::Writable for XDIV {}
#[doc = "XTAL Divide Control Register"]
pub mod xdiv;
#[doc = "External Memory Control Register A\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [xmcra](xmcra) module"]
pub type XMCRA = crate::Reg<u8, _XMCRA>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _XMCRA;
#[doc = "`read()` method returns [xmcra::R](xmcra::R) reader structure"]
impl crate::Readable for XMCRA {}
#[doc = "`write(|w| ..)` method takes [xmcra::W](xmcra::W) writer structure"]
impl crate::Writable for XMCRA {}
#[doc = "External Memory Control Register A"]
pub mod xmcra;
#[doc = "External Memory Control Register B\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [xmcrb](xmcrb) module"]
pub type XMCRB = crate::Reg<u8, _XMCRB>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _XMCRB;
#[doc = "`read()` method returns [xmcrb::R](xmcrb::R) reader structure"]
impl crate::Readable for XMCRB {}
#[doc = "`write(|w| ..)` method takes [xmcrb::W](xmcrb::W) writer structure"]
impl crate::Writable for XMCRB {}
#[doc = "External Memory Control Register B"]
pub mod xmcrb;