bl808_pac/
pds.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    _reserved0: [u8; 0x0a00],
5    #[doc = "0xa00 - ??"]
6    pub touch_config: TOUCH_CONFIG,
7    #[doc = "0xa04 - ??"]
8    pub touch_channel: TOUCH_CHANNEL,
9    #[doc = "0xa08 - ??"]
10    pub touch_process: TOUCH_PROCESS,
11    #[doc = "0xa0c - ??"]
12    pub touch_sleep: TOUCH_SLEEP,
13    #[doc = "0xa10 - ??"]
14    pub touch_delay: TOUCH_DELAY,
15    #[doc = "0xa14..0xa2c - ??"]
16    pub touch_force: [TOUCH_FORCE; 6],
17    #[doc = "0xa2c..0xa38 - ??"]
18    pub touch_voltage: [TOUCH_VOLTAGE; 3],
19    #[doc = "0xa38..0xa68 - ??"]
20    pub touch_raw: [TOUCH_RAW; 12],
21    _reserved8: [u8; 0x64],
22    #[doc = "0xacc - ??"]
23    pub touch_interrupt_0: TOUCH_INTERRUPT_0,
24    #[doc = "0xad0 - ??"]
25    pub touch_interrupt_1: TOUCH_INTERRUPT_1,
26}
27#[doc = "touch_config (rw) register accessor: an alias for `Reg<TOUCH_CONFIG_SPEC>`"]
28pub type TOUCH_CONFIG = crate::Reg<touch_config::TOUCH_CONFIG_SPEC>;
29#[doc = "??"]
30pub mod touch_config;
31#[doc = "touch_channel (rw) register accessor: an alias for `Reg<TOUCH_CHANNEL_SPEC>`"]
32pub type TOUCH_CHANNEL = crate::Reg<touch_channel::TOUCH_CHANNEL_SPEC>;
33#[doc = "??"]
34pub mod touch_channel;
35#[doc = "touch_process (rw) register accessor: an alias for `Reg<TOUCH_PROCESS_SPEC>`"]
36pub type TOUCH_PROCESS = crate::Reg<touch_process::TOUCH_PROCESS_SPEC>;
37#[doc = "??"]
38pub mod touch_process;
39#[doc = "touch_sleep (rw) register accessor: an alias for `Reg<TOUCH_SLEEP_SPEC>`"]
40pub type TOUCH_SLEEP = crate::Reg<touch_sleep::TOUCH_SLEEP_SPEC>;
41#[doc = "??"]
42pub mod touch_sleep;
43#[doc = "touch_delay (rw) register accessor: an alias for `Reg<TOUCH_DELAY_SPEC>`"]
44pub type TOUCH_DELAY = crate::Reg<touch_delay::TOUCH_DELAY_SPEC>;
45#[doc = "??"]
46pub mod touch_delay;
47#[doc = "touch_force (rw) register accessor: an alias for `Reg<TOUCH_FORCE_SPEC>`"]
48pub type TOUCH_FORCE = crate::Reg<touch_force::TOUCH_FORCE_SPEC>;
49#[doc = "??"]
50pub mod touch_force;
51#[doc = "touch_voltage (rw) register accessor: an alias for `Reg<TOUCH_VOLTAGE_SPEC>`"]
52pub type TOUCH_VOLTAGE = crate::Reg<touch_voltage::TOUCH_VOLTAGE_SPEC>;
53#[doc = "??"]
54pub mod touch_voltage;
55#[doc = "touch_raw (rw) register accessor: an alias for `Reg<TOUCH_RAW_SPEC>`"]
56pub type TOUCH_RAW = crate::Reg<touch_raw::TOUCH_RAW_SPEC>;
57#[doc = "??"]
58pub mod touch_raw;
59#[doc = "touch_interrupt_0 (rw) register accessor: an alias for `Reg<TOUCH_INTERRUPT_0_SPEC>`"]
60pub type TOUCH_INTERRUPT_0 = crate::Reg<touch_interrupt_0::TOUCH_INTERRUPT_0_SPEC>;
61#[doc = "??"]
62pub mod touch_interrupt_0;
63#[doc = "touch_interrupt_1 (rw) register accessor: an alias for `Reg<TOUCH_INTERRUPT_1_SPEC>`"]
64pub type TOUCH_INTERRUPT_1 = crate::Reg<touch_interrupt_1::TOUCH_INTERRUPT_1_SPEC>;
65#[doc = "??"]
66pub mod touch_interrupt_1;