cyt2bl_a/m4/fault/
struct_.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct STRUCT {
4 #[doc = "0x00 - Fault control"]
5 pub ctl: CTL,
6 _reserved1: [u8; 0x08],
7 #[doc = "0x0c - Fault status"]
8 pub status: STATUS,
9 #[doc = "0x10..0x20 - Fault data"]
10 pub data: [DATA; 4],
11 _reserved3: [u8; 0x20],
12 #[doc = "0x40 - Fault pending 0"]
13 pub pending0: PENDING0,
14 #[doc = "0x44 - Fault pending 1"]
15 pub pending1: PENDING1,
16 #[doc = "0x48 - Fault pending 2"]
17 pub pending2: PENDING2,
18 _reserved6: [u8; 0x04],
19 #[doc = "0x50 - Fault mask 0"]
20 pub mask0: MASK0,
21 #[doc = "0x54 - Fault mask 1"]
22 pub mask1: MASK1,
23 #[doc = "0x58 - Fault mask 2"]
24 pub mask2: MASK2,
25 _reserved9: [u8; 0x64],
26 #[doc = "0xc0 - Interrupt"]
27 pub intr: INTR,
28 #[doc = "0xc4 - Interrupt set"]
29 pub intr_set: INTR_SET,
30 #[doc = "0xc8 - Interrupt mask"]
31 pub intr_mask: INTR_MASK,
32 #[doc = "0xcc - Interrupt masked"]
33 pub intr_masked: INTR_MASKED,
34}
35#[doc = "CTL (rw) register accessor: an alias for `Reg<CTL_SPEC>`"]
36pub type CTL = crate::Reg<ctl::CTL_SPEC>;
37#[doc = "Fault control"]
38pub mod ctl;
39#[doc = "STATUS (rw) register accessor: an alias for `Reg<STATUS_SPEC>`"]
40pub type STATUS = crate::Reg<status::STATUS_SPEC>;
41#[doc = "Fault status"]
42pub mod status;
43#[doc = "DATA (rw) register accessor: an alias for `Reg<DATA_SPEC>`"]
44pub type DATA = crate::Reg<data::DATA_SPEC>;
45#[doc = "Fault data"]
46pub mod data;
47#[doc = "PENDING0 (r) register accessor: an alias for `Reg<PENDING0_SPEC>`"]
48pub type PENDING0 = crate::Reg<pending0::PENDING0_SPEC>;
49#[doc = "Fault pending 0"]
50pub mod pending0;
51#[doc = "PENDING1 (r) register accessor: an alias for `Reg<PENDING1_SPEC>`"]
52pub type PENDING1 = crate::Reg<pending1::PENDING1_SPEC>;
53#[doc = "Fault pending 1"]
54pub mod pending1;
55#[doc = "PENDING2 (r) register accessor: an alias for `Reg<PENDING2_SPEC>`"]
56pub type PENDING2 = crate::Reg<pending2::PENDING2_SPEC>;
57#[doc = "Fault pending 2"]
58pub mod pending2;
59#[doc = "MASK0 (rw) register accessor: an alias for `Reg<MASK0_SPEC>`"]
60pub type MASK0 = crate::Reg<mask0::MASK0_SPEC>;
61#[doc = "Fault mask 0"]
62pub mod mask0;
63#[doc = "MASK1 (rw) register accessor: an alias for `Reg<MASK1_SPEC>`"]
64pub type MASK1 = crate::Reg<mask1::MASK1_SPEC>;
65#[doc = "Fault mask 1"]
66pub mod mask1;
67#[doc = "MASK2 (rw) register accessor: an alias for `Reg<MASK2_SPEC>`"]
68pub type MASK2 = crate::Reg<mask2::MASK2_SPEC>;
69#[doc = "Fault mask 2"]
70pub mod mask2;
71#[doc = "INTR (rw) register accessor: an alias for `Reg<INTR_SPEC>`"]
72pub type INTR = crate::Reg<intr::INTR_SPEC>;
73#[doc = "Interrupt"]
74pub mod intr;
75#[doc = "INTR_SET (rw) register accessor: an alias for `Reg<INTR_SET_SPEC>`"]
76pub type INTR_SET = crate::Reg<intr_set::INTR_SET_SPEC>;
77#[doc = "Interrupt set"]
78pub mod intr_set;
79#[doc = "INTR_MASK (rw) register accessor: an alias for `Reg<INTR_MASK_SPEC>`"]
80pub type INTR_MASK = crate::Reg<intr_mask::INTR_MASK_SPEC>;
81#[doc = "Interrupt mask"]
82pub mod intr_mask;
83#[doc = "INTR_MASKED (r) register accessor: an alias for `Reg<INTR_MASKED_SPEC>`"]
84pub type INTR_MASKED = crate::Reg<intr_masked::INTR_MASKED_SPEC>;
85#[doc = "Interrupt masked"]
86pub mod intr_masked;