mk20d7/cmp0/
mod.rs

1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - CMP Control Register 0"]
5    pub cr0: CR0,
6    #[doc = "0x01 - CMP Control Register 1"]
7    pub cr1: CR1,
8    #[doc = "0x02 - CMP Filter Period Register"]
9    pub fpr: FPR,
10    #[doc = "0x03 - CMP Status and Control Register"]
11    pub scr: SCR,
12    #[doc = "0x04 - DAC Control Register"]
13    pub daccr: DACCR,
14    #[doc = "0x05 - MUX Control Register"]
15    pub muxcr: MUXCR,
16}
17#[doc = "CMP Control Register 0"]
18pub struct CR0 {
19    register: ::vcell::VolatileCell<u8>,
20}
21#[doc = "CMP Control Register 0"]
22pub mod cr0;
23#[doc = "CMP Control Register 1"]
24pub struct CR1 {
25    register: ::vcell::VolatileCell<u8>,
26}
27#[doc = "CMP Control Register 1"]
28pub mod cr1;
29#[doc = "CMP Filter Period Register"]
30pub struct FPR {
31    register: ::vcell::VolatileCell<u8>,
32}
33#[doc = "CMP Filter Period Register"]
34pub mod fpr;
35#[doc = "CMP Status and Control Register"]
36pub struct SCR {
37    register: ::vcell::VolatileCell<u8>,
38}
39#[doc = "CMP Status and Control Register"]
40pub mod scr;
41#[doc = "DAC Control Register"]
42pub struct DACCR {
43    register: ::vcell::VolatileCell<u8>,
44}
45#[doc = "DAC Control Register"]
46pub mod daccr;
47#[doc = "MUX Control Register"]
48pub struct MUXCR {
49    register: ::vcell::VolatileCell<u8>,
50}
51#[doc = "MUX Control Register"]
52pub mod muxcr;