stm32l4/stm32l4x1/
firewall.rs

1#[repr(C)]
2#[derive(Debug)]
3///Register block
4pub struct RegisterBlock {
5    cssa: CSSA,
6    csl: CSL,
7    nvdssa: NVDSSA,
8    nvdsl: NVDSL,
9    vdssa: VDSSA,
10    vdsl: VDSL,
11    _reserved6: [u8; 0x08],
12    cr: CR,
13}
14impl RegisterBlock {
15    ///0x00 - Code segment start address
16    #[inline(always)]
17    pub const fn cssa(&self) -> &CSSA {
18        &self.cssa
19    }
20    ///0x04 - Code segment length
21    #[inline(always)]
22    pub const fn csl(&self) -> &CSL {
23        &self.csl
24    }
25    ///0x08 - Non-volatile data segment start address
26    #[inline(always)]
27    pub const fn nvdssa(&self) -> &NVDSSA {
28        &self.nvdssa
29    }
30    ///0x0c - Non-volatile data segment length
31    #[inline(always)]
32    pub const fn nvdsl(&self) -> &NVDSL {
33        &self.nvdsl
34    }
35    ///0x10 - Volatile data segment start address
36    #[inline(always)]
37    pub const fn vdssa(&self) -> &VDSSA {
38        &self.vdssa
39    }
40    ///0x14 - Volatile data segment length
41    #[inline(always)]
42    pub const fn vdsl(&self) -> &VDSL {
43        &self.vdsl
44    }
45    ///0x20 - Configuration register
46    #[inline(always)]
47    pub const fn cr(&self) -> &CR {
48        &self.cr
49    }
50}
51/**CSSA (rw) register accessor: Code segment start address
52
53You can [`read`](crate::Reg::read) this register and get [`cssa::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cssa::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
54
55See register [structure](https://stm32-rs.github.io/stm32-rs/STM32L4x1.html#FIREWALL:CSSA)
56
57For information about available fields see [`mod@cssa`] module*/
58pub type CSSA = crate::Reg<cssa::CSSArs>;
59///Code segment start address
60pub mod cssa;
61/**CSL (rw) register accessor: Code segment length
62
63You can [`read`](crate::Reg::read) this register and get [`csl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`csl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
64
65See register [structure](https://stm32-rs.github.io/stm32-rs/STM32L4x1.html#FIREWALL:CSL)
66
67For information about available fields see [`mod@csl`] module*/
68pub type CSL = crate::Reg<csl::CSLrs>;
69///Code segment length
70pub mod csl;
71/**NVDSSA (rw) register accessor: Non-volatile data segment start address
72
73You can [`read`](crate::Reg::read) this register and get [`nvdssa::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`nvdssa::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
74
75See register [structure](https://stm32-rs.github.io/stm32-rs/STM32L4x1.html#FIREWALL:NVDSSA)
76
77For information about available fields see [`mod@nvdssa`] module*/
78pub type NVDSSA = crate::Reg<nvdssa::NVDSSArs>;
79///Non-volatile data segment start address
80pub mod nvdssa;
81/**NVDSL (rw) register accessor: Non-volatile data segment length
82
83You can [`read`](crate::Reg::read) this register and get [`nvdsl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`nvdsl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
84
85See register [structure](https://stm32-rs.github.io/stm32-rs/STM32L4x1.html#FIREWALL:NVDSL)
86
87For information about available fields see [`mod@nvdsl`] module*/
88pub type NVDSL = crate::Reg<nvdsl::NVDSLrs>;
89///Non-volatile data segment length
90pub mod nvdsl;
91/**VDSSA (rw) register accessor: Volatile data segment start address
92
93You can [`read`](crate::Reg::read) this register and get [`vdssa::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`vdssa::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
94
95See register [structure](https://stm32-rs.github.io/stm32-rs/STM32L4x1.html#FIREWALL:VDSSA)
96
97For information about available fields see [`mod@vdssa`] module*/
98pub type VDSSA = crate::Reg<vdssa::VDSSArs>;
99///Volatile data segment start address
100pub mod vdssa;
101/**VDSL (rw) register accessor: Volatile data segment length
102
103You can [`read`](crate::Reg::read) this register and get [`vdsl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`vdsl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
104
105See register [structure](https://stm32-rs.github.io/stm32-rs/STM32L4x1.html#FIREWALL:VDSL)
106
107For information about available fields see [`mod@vdsl`] module*/
108pub type VDSL = crate::Reg<vdsl::VDSLrs>;
109///Volatile data segment length
110pub mod vdsl;
111/**CR (rw) register accessor: Configuration register
112
113You can [`read`](crate::Reg::read) this register and get [`cr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
114
115See register [structure](https://stm32-rs.github.io/stm32-rs/STM32L4x1.html#FIREWALL:CR)
116
117For information about available fields see [`mod@cr`] module*/
118pub type CR = crate::Reg<cr::CRrs>;
119///Configuration register
120pub mod cr;