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
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - TWI Slave Address Register"]
    pub twi_addr: TWI_ADDR,
    #[doc = "0x04 - TWI Extended Slave Address Register"]
    pub twi_xaddr: TWI_XADDR,
    #[doc = "0x08 - TWI Data Byte Register"]
    pub twi_data: TWI_DATA,
    #[doc = "0x0c - TWI Control Register"]
    pub twi_cntr: TWI_CNTR,
    #[doc = "0x10 - TWI Status Register"]
    pub twi_stat: TWI_STAT,
    #[doc = "0x14 - TWI Clock Control Register"]
    pub twi_ccr: TWI_CCR,
    #[doc = "0x18 - TWI Software Reset Register"]
    pub twi_srst: TWI_SRST,
    #[doc = "0x1c - TWI Enhance Feature Register"]
    pub twi_efr: TWI_EFR,
    #[doc = "0x20 - TWI Line Control Register"]
    pub twi_lcr: TWI_LCR,
    _reserved9: [u8; 0x01dc],
    #[doc = "0x200 - TWI_DRV Control Register"]
    pub twi_drv_ctrl: TWI_DRV_CTRL,
    #[doc = "0x204 - TWI_DRV Transmission Configuration Register"]
    pub twi_drv_cfg: TWI_DRV_CFG,
    #[doc = "0x208 - TWI_DRV Slave ID Register"]
    pub twi_drv_slv: TWI_DRV_SLV,
    #[doc = "0x20c - TWI_DRV Packet Format Register"]
    pub twi_drv_fmt: TWI_DRV_FMT,
    #[doc = "0x210 - TWI_DRV Bus Control Register"]
    pub twi_drv_bus_ctrl: TWI_DRV_BUS_CTRL,
    #[doc = "0x214 - TWI_DRV Interrupt Control Register"]
    pub twi_drv_int_ctrl: TWI_DRV_INT_CTRL,
    #[doc = "0x218 - TWI_DRV DMA Configure Register"]
    pub twi_drv_dma_cfg: TWI_DRV_DMA_CFG,
    #[doc = "0x21c - TWI_DRV FIFO Content Register"]
    pub twi_drv_fifo_con: TWI_DRV_FIFO_CON,
    _reserved17: [u8; 0xe0],
    #[doc = "0x300 - TWI_DRV Send Data FIFO Access Register"]
    pub twi_drv_send_fifo_acc: TWI_DRV_SEND_FIFO_ACC,
    #[doc = "0x304 - TWI_DRV Receive Data FIFO Access Register"]
    pub twi_drv_recv_fifo_acc: TWI_DRV_RECV_FIFO_ACC,
}
#[doc = "twi_addr (rw) register accessor: an alias for `Reg<TWI_ADDR_SPEC>`"]
pub type TWI_ADDR = crate::Reg<twi_addr::TWI_ADDR_SPEC>;
#[doc = "TWI Slave Address Register"]
pub mod twi_addr;
#[doc = "twi_xaddr (rw) register accessor: an alias for `Reg<TWI_XADDR_SPEC>`"]
pub type TWI_XADDR = crate::Reg<twi_xaddr::TWI_XADDR_SPEC>;
#[doc = "TWI Extended Slave Address Register"]
pub mod twi_xaddr;
#[doc = "twi_data (rw) register accessor: an alias for `Reg<TWI_DATA_SPEC>`"]
pub type TWI_DATA = crate::Reg<twi_data::TWI_DATA_SPEC>;
#[doc = "TWI Data Byte Register"]
pub mod twi_data;
#[doc = "twi_cntr (rw) register accessor: an alias for `Reg<TWI_CNTR_SPEC>`"]
pub type TWI_CNTR = crate::Reg<twi_cntr::TWI_CNTR_SPEC>;
#[doc = "TWI Control Register"]
pub mod twi_cntr;
#[doc = "twi_stat (r) register accessor: an alias for `Reg<TWI_STAT_SPEC>`"]
pub type TWI_STAT = crate::Reg<twi_stat::TWI_STAT_SPEC>;
#[doc = "TWI Status Register"]
pub mod twi_stat;
#[doc = "twi_ccr (rw) register accessor: an alias for `Reg<TWI_CCR_SPEC>`"]
pub type TWI_CCR = crate::Reg<twi_ccr::TWI_CCR_SPEC>;
#[doc = "TWI Clock Control Register"]
pub mod twi_ccr;
#[doc = "twi_srst (rw) register accessor: an alias for `Reg<TWI_SRST_SPEC>`"]
pub type TWI_SRST = crate::Reg<twi_srst::TWI_SRST_SPEC>;
#[doc = "TWI Software Reset Register"]
pub mod twi_srst;
#[doc = "twi_efr (rw) register accessor: an alias for `Reg<TWI_EFR_SPEC>`"]
pub type TWI_EFR = crate::Reg<twi_efr::TWI_EFR_SPEC>;
#[doc = "TWI Enhance Feature Register"]
pub mod twi_efr;
#[doc = "twi_lcr (rw) register accessor: an alias for `Reg<TWI_LCR_SPEC>`"]
pub type TWI_LCR = crate::Reg<twi_lcr::TWI_LCR_SPEC>;
#[doc = "TWI Line Control Register"]
pub mod twi_lcr;
#[doc = "twi_drv_ctrl (rw) register accessor: an alias for `Reg<TWI_DRV_CTRL_SPEC>`"]
pub type TWI_DRV_CTRL = crate::Reg<twi_drv_ctrl::TWI_DRV_CTRL_SPEC>;
#[doc = "TWI_DRV Control Register"]
pub mod twi_drv_ctrl;
#[doc = "twi_drv_cfg (rw) register accessor: an alias for `Reg<TWI_DRV_CFG_SPEC>`"]
pub type TWI_DRV_CFG = crate::Reg<twi_drv_cfg::TWI_DRV_CFG_SPEC>;
#[doc = "TWI_DRV Transmission Configuration Register"]
pub mod twi_drv_cfg;
#[doc = "twi_drv_slv (rw) register accessor: an alias for `Reg<TWI_DRV_SLV_SPEC>`"]
pub type TWI_DRV_SLV = crate::Reg<twi_drv_slv::TWI_DRV_SLV_SPEC>;
#[doc = "TWI_DRV Slave ID Register"]
pub mod twi_drv_slv;
#[doc = "twi_drv_fmt (rw) register accessor: an alias for `Reg<TWI_DRV_FMT_SPEC>`"]
pub type TWI_DRV_FMT = crate::Reg<twi_drv_fmt::TWI_DRV_FMT_SPEC>;
#[doc = "TWI_DRV Packet Format Register"]
pub mod twi_drv_fmt;
#[doc = "twi_drv_bus_ctrl (rw) register accessor: an alias for `Reg<TWI_DRV_BUS_CTRL_SPEC>`"]
pub type TWI_DRV_BUS_CTRL = crate::Reg<twi_drv_bus_ctrl::TWI_DRV_BUS_CTRL_SPEC>;
#[doc = "TWI_DRV Bus Control Register"]
pub mod twi_drv_bus_ctrl;
#[doc = "twi_drv_int_ctrl (rw) register accessor: an alias for `Reg<TWI_DRV_INT_CTRL_SPEC>`"]
pub type TWI_DRV_INT_CTRL = crate::Reg<twi_drv_int_ctrl::TWI_DRV_INT_CTRL_SPEC>;
#[doc = "TWI_DRV Interrupt Control Register"]
pub mod twi_drv_int_ctrl;
#[doc = "twi_drv_dma_cfg (rw) register accessor: an alias for `Reg<TWI_DRV_DMA_CFG_SPEC>`"]
pub type TWI_DRV_DMA_CFG = crate::Reg<twi_drv_dma_cfg::TWI_DRV_DMA_CFG_SPEC>;
#[doc = "TWI_DRV DMA Configure Register"]
pub mod twi_drv_dma_cfg;
#[doc = "twi_drv_fifo_con (rw) register accessor: an alias for `Reg<TWI_DRV_FIFO_CON_SPEC>`"]
pub type TWI_DRV_FIFO_CON = crate::Reg<twi_drv_fifo_con::TWI_DRV_FIFO_CON_SPEC>;
#[doc = "TWI_DRV FIFO Content Register"]
pub mod twi_drv_fifo_con;
#[doc = "twi_drv_send_fifo_acc (w) register accessor: an alias for `Reg<TWI_DRV_SEND_FIFO_ACC_SPEC>`"]
pub type TWI_DRV_SEND_FIFO_ACC = crate::Reg<twi_drv_send_fifo_acc::TWI_DRV_SEND_FIFO_ACC_SPEC>;
#[doc = "TWI_DRV Send Data FIFO Access Register"]
pub mod twi_drv_send_fifo_acc;
#[doc = "twi_drv_recv_fifo_acc (r) register accessor: an alias for `Reg<TWI_DRV_RECV_FIFO_ACC_SPEC>`"]
pub type TWI_DRV_RECV_FIFO_ACC = crate::Reg<twi_drv_recv_fifo_acc::TWI_DRV_RECV_FIFO_ACC_SPEC>;
#[doc = "TWI_DRV Receive Data FIFO Access Register"]
pub mod twi_drv_recv_fifo_acc;