1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Function configuration register"]
5 pub config: CONFIG,
6 #[doc = "0x04 - Interrupt enables, masks and states"]
7 pub interrupt_state: INTERRUPT_STATE,
8 #[doc = "0x08 - Bus busy state indicator"]
9 pub bus_busy: BUS_BUSY,
10 _reserved3: [u8; 0x04],
11 #[doc = "0x10 - Duration of control signals"]
12 pub period_control: PERIOD_CONTROL,
13 #[doc = "0x14 - Interval bitween frames"]
14 pub period_interval: PERIOD_INTERVAL,
15 #[doc = "0x18 - Receive ignore index configuration"]
16 pub ignore_index: IGNORE_INDEX,
17 #[doc = "0x1c - Slave mode transmit timeout values"]
18 pub timeout: TIMEOUT,
19 _reserved7: [u8; 0x60],
20 #[doc = "0x80 - FIFO configuration register 0"]
21 pub fifo_config_0: FIFO_CONFIG_0,
22 #[doc = "0x84 - FIFO configuration register 1"]
23 pub fifo_config_1: FIFO_CONFIG_1,
24 #[doc = "0x88 - FIFO write data register"]
25 pub data_write: DATA_WRITE,
26 #[doc = "0x8c - FIFO read data register"]
27 pub data_read: DATA_READ,
28}
29#[doc = "config (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
30pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
31#[doc = "Function configuration register"]
32pub mod config;
33#[doc = "interrupt_state (rw) register accessor: an alias for `Reg<INTERRUPT_STATE_SPEC>`"]
34pub type INTERRUPT_STATE = crate::Reg<interrupt_state::INTERRUPT_STATE_SPEC>;
35#[doc = "Interrupt enables, masks and states"]
36pub mod interrupt_state;
37#[doc = "bus_busy (rw) register accessor: an alias for `Reg<BUS_BUSY_SPEC>`"]
38pub type BUS_BUSY = crate::Reg<bus_busy::BUS_BUSY_SPEC>;
39#[doc = "Bus busy state indicator"]
40pub mod bus_busy;
41#[doc = "period_control (rw) register accessor: an alias for `Reg<PERIOD_CONTROL_SPEC>`"]
42pub type PERIOD_CONTROL = crate::Reg<period_control::PERIOD_CONTROL_SPEC>;
43#[doc = "Duration of control signals"]
44pub mod period_control;
45#[doc = "period_interval (rw) register accessor: an alias for `Reg<PERIOD_INTERVAL_SPEC>`"]
46pub type PERIOD_INTERVAL = crate::Reg<period_interval::PERIOD_INTERVAL_SPEC>;
47#[doc = "Interval bitween frames"]
48pub mod period_interval;
49#[doc = "ignore_index (rw) register accessor: an alias for `Reg<IGNORE_INDEX_SPEC>`"]
50pub type IGNORE_INDEX = crate::Reg<ignore_index::IGNORE_INDEX_SPEC>;
51#[doc = "Receive ignore index configuration"]
52pub mod ignore_index;
53#[doc = "timeout (rw) register accessor: an alias for `Reg<TIMEOUT_SPEC>`"]
54pub type TIMEOUT = crate::Reg<timeout::TIMEOUT_SPEC>;
55#[doc = "Slave mode transmit timeout values"]
56pub mod timeout;
57#[doc = "fifo_config_0 (rw) register accessor: an alias for `Reg<FIFO_CONFIG_0_SPEC>`"]
58pub type FIFO_CONFIG_0 = crate::Reg<fifo_config_0::FIFO_CONFIG_0_SPEC>;
59#[doc = "FIFO configuration register 0"]
60pub mod fifo_config_0;
61#[doc = "fifo_config_1 (rw) register accessor: an alias for `Reg<FIFO_CONFIG_1_SPEC>`"]
62pub type FIFO_CONFIG_1 = crate::Reg<fifo_config_1::FIFO_CONFIG_1_SPEC>;
63#[doc = "FIFO configuration register 1"]
64pub mod fifo_config_1;
65#[doc = "data_write (rw) register accessor: an alias for `Reg<DATA_WRITE_SPEC>`"]
66pub type DATA_WRITE = crate::Reg<data_write::DATA_WRITE_SPEC>;
67#[doc = "FIFO write data register"]
68pub mod data_write;
69#[doc = "data_read (rw) register accessor: an alias for `Reg<DATA_READ_SPEC>`"]
70pub type DATA_READ = crate::Reg<data_read::DATA_READ_SPEC>;
71#[doc = "FIFO read data register"]
72pub mod data_read;