ra6m3_fsp_pac/src.rs
1#[repr(C)]
2///Register block
3pub struct RegisterBlock {
4 srcid: SRCID,
5 srcod: SRCOD,
6 srcidctrl: SRCIDCTRL,
7 srcodctrl: SRCODCTRL,
8 srcctrl: SRCCTRL,
9 srcstat: SRCSTAT,
10}
11impl RegisterBlock {
12 ///0x00 - Input Data Register
13 #[inline(always)]
14 pub const fn srcid(&self) -> &SRCID {
15 &self.srcid
16 }
17 ///0x04 - Output Data Register
18 #[inline(always)]
19 pub const fn srcod(&self) -> &SRCOD {
20 &self.srcod
21 }
22 ///0x08 - Input Data Control Register
23 #[inline(always)]
24 pub const fn srcidctrl(&self) -> &SRCIDCTRL {
25 &self.srcidctrl
26 }
27 ///0x0a - Output Data Control Register
28 #[inline(always)]
29 pub const fn srcodctrl(&self) -> &SRCODCTRL {
30 &self.srcodctrl
31 }
32 ///0x0c - Control Register
33 #[inline(always)]
34 pub const fn srcctrl(&self) -> &SRCCTRL {
35 &self.srcctrl
36 }
37 ///0x0e - Status Register
38 #[inline(always)]
39 pub const fn srcstat(&self) -> &SRCSTAT {
40 &self.srcstat
41 }
42}
43/**SRCID (w) register accessor: Input Data Register
44
45You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`srcid::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
46
47For information about available fields see [`mod@srcid`] module*/
48pub type SRCID = crate::Reg<srcid::SRCID_SPEC>;
49///Input Data Register
50pub mod srcid;
51/**SRCOD (r) register accessor: Output Data Register
52
53You can [`read`](crate::Reg::read) this register and get [`srcod::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
54
55For information about available fields see [`mod@srcod`] module*/
56pub type SRCOD = crate::Reg<srcod::SRCOD_SPEC>;
57///Output Data Register
58pub mod srcod;
59/**SRCIDCTRL (rw) register accessor: Input Data Control Register
60
61You can [`read`](crate::Reg::read) this register and get [`srcidctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`srcidctrl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
62
63For information about available fields see [`mod@srcidctrl`] module*/
64pub type SRCIDCTRL = crate::Reg<srcidctrl::SRCIDCTRL_SPEC>;
65///Input Data Control Register
66pub mod srcidctrl;
67/**SRCODCTRL (rw) register accessor: Output Data Control Register
68
69You can [`read`](crate::Reg::read) this register and get [`srcodctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`srcodctrl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
70
71For information about available fields see [`mod@srcodctrl`] module*/
72pub type SRCODCTRL = crate::Reg<srcodctrl::SRCODCTRL_SPEC>;
73///Output Data Control Register
74pub mod srcodctrl;
75/**SRCCTRL (rw) register accessor: Control Register
76
77You can [`read`](crate::Reg::read) this register and get [`srcctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`srcctrl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
78
79For information about available fields see [`mod@srcctrl`] module*/
80pub type SRCCTRL = crate::Reg<srcctrl::SRCCTRL_SPEC>;
81///Control Register
82pub mod srcctrl;
83/**SRCSTAT (rw) register accessor: Status Register
84
85You can [`read`](crate::Reg::read) this register and get [`srcstat::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`srcstat::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
86
87For information about available fields see [`mod@srcstat`] module*/
88pub type SRCSTAT = crate::Reg<srcstat::SRCSTAT_SPEC>;
89///Status Register
90pub mod srcstat;