d1_pac/
ce_ns.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    ce_tda: CE_TDA,
5    _reserved1: [u8; 0x04],
6    ce_icr: CE_ICR,
7    ce_isr: CE_ISR,
8    ce_tlr: CE_TLR,
9    ce_tsr: CE_TSR,
10    ce_esr: CE_ESR,
11    _reserved6: [u8; 0x08],
12    ce_csa: CE_CSA,
13    ce_cda: CE_CDA,
14    ce_tpr: CE_TPR,
15}
16impl RegisterBlock {
17    #[doc = "0x00 - Task Descriptor Address"]
18    #[inline(always)]
19    pub const fn ce_tda(&self) -> &CE_TDA {
20        &self.ce_tda
21    }
22    #[doc = "0x08 - Interrupt Control Register"]
23    #[inline(always)]
24    pub const fn ce_icr(&self) -> &CE_ICR {
25        &self.ce_icr
26    }
27    #[doc = "0x0c - Interrupt Status Register"]
28    #[inline(always)]
29    pub const fn ce_isr(&self) -> &CE_ISR {
30        &self.ce_isr
31    }
32    #[doc = "0x10 - Task Load Register"]
33    #[inline(always)]
34    pub const fn ce_tlr(&self) -> &CE_TLR {
35        &self.ce_tlr
36    }
37    #[doc = "0x14 - Task Status Register"]
38    #[inline(always)]
39    pub const fn ce_tsr(&self) -> &CE_TSR {
40        &self.ce_tsr
41    }
42    #[doc = "0x18 - Error Status Register"]
43    #[inline(always)]
44    pub const fn ce_esr(&self) -> &CE_ESR {
45        &self.ce_esr
46    }
47    #[doc = "0x24 - Current Source Address Register"]
48    #[inline(always)]
49    pub const fn ce_csa(&self) -> &CE_CSA {
50        &self.ce_csa
51    }
52    #[doc = "0x28 - Current Destination Address Register"]
53    #[inline(always)]
54    pub const fn ce_cda(&self) -> &CE_CDA {
55        &self.ce_cda
56    }
57    #[doc = "0x2c - Throughput Register"]
58    #[inline(always)]
59    pub const fn ce_tpr(&self) -> &CE_TPR {
60        &self.ce_tpr
61    }
62}
63#[doc = "ce_tda (rw) register accessor: Task Descriptor Address\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_tda::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_tda::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_tda`] module"]
64pub type CE_TDA = crate::Reg<ce_tda::CE_TDA_SPEC>;
65#[doc = "Task Descriptor Address"]
66pub mod ce_tda;
67#[doc = "ce_icr (rw) register accessor: Interrupt Control Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_icr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_icr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_icr`] module"]
68pub type CE_ICR = crate::Reg<ce_icr::CE_ICR_SPEC>;
69#[doc = "Interrupt Control Register"]
70pub mod ce_icr;
71#[doc = "ce_isr (rw) register accessor: Interrupt Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_isr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_isr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_isr`] module"]
72pub type CE_ISR = crate::Reg<ce_isr::CE_ISR_SPEC>;
73#[doc = "Interrupt Status Register"]
74pub mod ce_isr;
75#[doc = "ce_tlr (rw) register accessor: Task Load Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_tlr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_tlr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_tlr`] module"]
76pub type CE_TLR = crate::Reg<ce_tlr::CE_TLR_SPEC>;
77#[doc = "Task Load Register"]
78pub mod ce_tlr;
79#[doc = "ce_tsr (rw) register accessor: Task Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_tsr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_tsr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_tsr`] module"]
80pub type CE_TSR = crate::Reg<ce_tsr::CE_TSR_SPEC>;
81#[doc = "Task Status Register"]
82pub mod ce_tsr;
83#[doc = "ce_esr (rw) register accessor: Error Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_esr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_esr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_esr`] module"]
84pub type CE_ESR = crate::Reg<ce_esr::CE_ESR_SPEC>;
85#[doc = "Error Status Register"]
86pub mod ce_esr;
87#[doc = "ce_csa (rw) register accessor: Current Source Address Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_csa::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_csa::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_csa`] module"]
88pub type CE_CSA = crate::Reg<ce_csa::CE_CSA_SPEC>;
89#[doc = "Current Source Address Register"]
90pub mod ce_csa;
91#[doc = "ce_cda (rw) register accessor: Current Destination Address Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_cda::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_cda::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_cda`] module"]
92pub type CE_CDA = crate::Reg<ce_cda::CE_CDA_SPEC>;
93#[doc = "Current Destination Address Register"]
94pub mod ce_cda;
95#[doc = "ce_tpr (rw) register accessor: Throughput Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ce_tpr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ce_tpr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ce_tpr`] module"]
96pub type CE_TPR = crate::Reg<ce_tpr::CE_TPR_SPEC>;
97#[doc = "Throughput Register"]
98pub mod ce_tpr;