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
#[repr(C)]
#[derive(Debug)]
///CAN Receive cluster
pub struct RX {
    rir: RIR,
    rdtr: RDTR,
    rdlr: RDLR,
    rdhr: RDHR,
}
impl RX {
    ///0x00 - receive FIFO mailbox identifier register
    #[inline(always)]
    pub const fn rir(&self) -> &RIR {
        &self.rir
    }
    ///0x04 - mailbox data high register
    #[inline(always)]
    pub const fn rdtr(&self) -> &RDTR {
        &self.rdtr
    }
    ///0x08 - mailbox data high register
    #[inline(always)]
    pub const fn rdlr(&self) -> &RDLR {
        &self.rdlr
    }
    ///0x0c - receive FIFO mailbox data high register
    #[inline(always)]
    pub const fn rdhr(&self) -> &RDHR {
        &self.rdhr
    }
}
/**RIR (r) register accessor: receive FIFO mailbox identifier register

You can [`read`](crate::generic::Reg::read) this register and get [`rir::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@rir`]
module*/
pub type RIR = crate::Reg<rir::RIRrs>;
///receive FIFO mailbox identifier register
pub mod rir;
/**RDTR (r) register accessor: mailbox data high register

You can [`read`](crate::generic::Reg::read) this register and get [`rdtr::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@rdtr`]
module*/
pub type RDTR = crate::Reg<rdtr::RDTRrs>;
///mailbox data high register
pub mod rdtr;
/**RDLR (r) register accessor: mailbox data high register

You can [`read`](crate::generic::Reg::read) this register and get [`rdlr::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@rdlr`]
module*/
pub type RDLR = crate::Reg<rdlr::RDLRrs>;
///mailbox data high register
pub mod rdlr;
/**RDHR (r) register accessor: receive FIFO mailbox data high register

You can [`read`](crate::generic::Reg::read) this register and get [`rdhr::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).

For information about available fields see [`mod@rdhr`]
module*/
pub type RDHR = crate::Reg<rdhr::RDHRrs>;
///receive FIFO mailbox data high register
pub mod rdhr;