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
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - XT Oscillator Control"]
    pub calxt: CALXT,
    #[doc = "0x04 - RC Oscillator Control"]
    pub calrc: CALRC,
    #[doc = "0x08 - Autocalibration Counter"]
    pub acalctr: ACALCTR,
    #[doc = "0x0c - Oscillator Control"]
    pub octrl: OCTRL,
    #[doc = "0x10 - CLKOUT Frequency Select"]
    pub clkout: CLKOUT,
    #[doc = "0x14 - Key Register for Clock Control Register"]
    pub clkkey: CLKKEY,
    #[doc = "0x18 - HFRC Clock Control"]
    pub cctrl: CCTRL,
    #[doc = "0x1c - Clock Generator Status"]
    pub status: STATUS,
    #[doc = "0x20 - HFRC Adjustment"]
    pub hfadj: HFADJ,
    _reserved0: [u8; 4usize],
    #[doc = "0x28 - Clock Enable Status"]
    pub clockenstat: CLOCKENSTAT,
    #[doc = "0x2c - Clock Enable Status"]
    pub clocken2stat: CLOCKEN2STAT,
    #[doc = "0x30 - Clock Enable Status"]
    pub clocken3stat: CLOCKEN3STAT,
    #[doc = "0x34 - HFRC Frequency Control register"]
    pub freqctrl: FREQCTRL,
    _reserved1: [u8; 4usize],
    #[doc = "0x3c - BLE BUCK TON ADJUST"]
    pub blebucktonadj: BLEBUCKTONADJ,
    _reserved2: [u8; 192usize],
    #[doc = "0x100 - CLKGEN Interrupt Register: Enable"]
    pub intrpten: INTRPTEN,
    #[doc = "0x104 - CLKGEN Interrupt Register: Status"]
    pub intrptstat: INTRPTSTAT,
    #[doc = "0x108 - CLKGEN Interrupt Register: Clear"]
    pub intrptclr: INTRPTCLR,
    #[doc = "0x10c - CLKGEN Interrupt Register: Set"]
    pub intrptset: INTRPTSET,
}
#[doc = "XT Oscillator Control"]
pub struct CALXT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "XT Oscillator Control"]
pub mod calxt;
#[doc = "RC Oscillator Control"]
pub struct CALRC {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "RC Oscillator Control"]
pub mod calrc;
#[doc = "Autocalibration Counter"]
pub struct ACALCTR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Autocalibration Counter"]
pub mod acalctr;
#[doc = "Oscillator Control"]
pub struct OCTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Oscillator Control"]
pub mod octrl;
#[doc = "CLKOUT Frequency Select"]
pub struct CLKOUT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "CLKOUT Frequency Select"]
pub mod clkout;
#[doc = "Key Register for Clock Control Register"]
pub struct CLKKEY {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Key Register for Clock Control Register"]
pub mod clkkey;
#[doc = "HFRC Clock Control"]
pub struct CCTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "HFRC Clock Control"]
pub mod cctrl;
#[doc = "Clock Generator Status"]
pub struct STATUS {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Clock Generator Status"]
pub mod status;
#[doc = "HFRC Adjustment"]
pub struct HFADJ {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "HFRC Adjustment"]
pub mod hfadj;
#[doc = "Clock Enable Status"]
pub struct CLOCKENSTAT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Clock Enable Status"]
pub mod clockenstat;
#[doc = "Clock Enable Status"]
pub struct CLOCKEN2STAT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Clock Enable Status"]
pub mod clocken2stat;
#[doc = "Clock Enable Status"]
pub struct CLOCKEN3STAT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Clock Enable Status"]
pub mod clocken3stat;
#[doc = "HFRC Frequency Control register"]
pub struct FREQCTRL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "HFRC Frequency Control register"]
pub mod freqctrl;
#[doc = "BLE BUCK TON ADJUST"]
pub struct BLEBUCKTONADJ {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "BLE BUCK TON ADJUST"]
pub mod blebucktonadj;
#[doc = "CLKGEN Interrupt Register: Enable"]
pub struct INTRPTEN {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "CLKGEN Interrupt Register: Enable"]
pub mod intrpten;
#[doc = "CLKGEN Interrupt Register: Status"]
pub struct INTRPTSTAT {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "CLKGEN Interrupt Register: Status"]
pub mod intrptstat;
#[doc = "CLKGEN Interrupt Register: Clear"]
pub struct INTRPTCLR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "CLKGEN Interrupt Register: Clear"]
pub mod intrptclr;
#[doc = "CLKGEN Interrupt Register: Set"]
pub struct INTRPTSET {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "CLKGEN Interrupt Register: Set"]
pub mod intrptset;