stm32f3_staging/stm32f373/can/
fb.rs

1#[repr(C)]
2#[derive(Debug)]
3///CAN Filter Bank cluster
4pub struct FB {
5    fr1: FR1,
6    fr2: FR2,
7}
8impl FB {
9    ///0x00 - Filter bank x register 1
10    #[inline(always)]
11    pub const fn fr1(&self) -> &FR1 {
12        &self.fr1
13    }
14    ///0x04 - Filter bank x register 2
15    #[inline(always)]
16    pub const fn fr2(&self) -> &FR2 {
17        &self.fr2
18    }
19}
20/**FR1 (rw) register accessor: Filter bank x register 1
21
22You can [`read`](crate::Reg::read) this register and get [`fr1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fr1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
23
24For information about available fields see [`mod@fr1`]
25module*/
26pub type FR1 = crate::Reg<fr1::FR1rs>;
27///Filter bank x register 1
28pub mod fr1;
29/**FR2 (rw) register accessor: Filter bank x register 2
30
31You can [`read`](crate::Reg::read) this register and get [`fr2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fr2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
32
33For information about available fields see [`mod@fr2`]
34module*/
35pub type FR2 = crate::Reg<fr2::FR2rs>;
36///Filter bank x register 2
37pub mod fr2;