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
#[doc = r" Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Module Identification Register"]
    pub id: ID,
    #[doc = "0x04 - Global Control Register"]
    pub globctl: GLOBCTL,
    #[doc = "0x08 - Function Control Register"]
    pub fnctl: FNCTL,
    #[doc = "0x0c - Event Flag Register"]
    pub evfr: EVFR,
    #[doc = "0x10 - Touch-sense TS-Counter Value"]
    pub tsval: TSVAL,
    #[doc = "0x14 - Line Pattern Register 0"]
    pub line0: LINE0,
    #[doc = "0x18 - Line Pattern Register 1"]
    pub line1: LINE1,
    #[doc = "0x1c - LED Compare Register 0"]
    pub ldcmp0: LDCMP0,
    #[doc = "0x20 - LED Compare Register 1"]
    pub ldcmp1: LDCMP1,
    #[doc = "0x24 - Touch-sense Compare Register 0"]
    pub tscmp0: TSCMP0,
    #[doc = "0x28 - Touch-sense Compare Register 1"]
    pub tscmp1: TSCMP1,
}
#[doc = "Module Identification Register"]
pub struct ID {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Module Identification Register"]
pub mod id;
#[doc = "Global Control Register"]
pub struct GLOBCTL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Global Control Register"]
pub mod globctl;
#[doc = "Function Control Register"]
pub struct FNCTL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Function Control Register"]
pub mod fnctl;
#[doc = "Event Flag Register"]
pub struct EVFR {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Event Flag Register"]
pub mod evfr;
#[doc = "Touch-sense TS-Counter Value"]
pub struct TSVAL {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Touch-sense TS-Counter Value"]
pub mod tsval;
#[doc = "Line Pattern Register 0"]
pub struct LINE0 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Line Pattern Register 0"]
pub mod line0;
#[doc = "Line Pattern Register 1"]
pub struct LINE1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Line Pattern Register 1"]
pub mod line1;
#[doc = "LED Compare Register 0"]
pub struct LDCMP0 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "LED Compare Register 0"]
pub mod ldcmp0;
#[doc = "LED Compare Register 1"]
pub struct LDCMP1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "LED Compare Register 1"]
pub mod ldcmp1;
#[doc = "Touch-sense Compare Register 0"]
pub struct TSCMP0 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Touch-sense Compare Register 0"]
pub mod tscmp0;
#[doc = "Touch-sense Compare Register 1"]
pub struct TSCMP1 {
    register: ::vcell::VolatileCell<u32>,
}
#[doc = "Touch-sense Compare Register 1"]
pub mod tscmp1;