1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 0x20],
5 tve_dac_map: TVE_DAC_MAP,
6 tve_dac_status: TVE_DAC_STATUS,
7 tve_dac_cfg0: TVE_DAC_CFG0,
8 tve_dac_cfg1: TVE_DAC_CFG1,
9 tve_dac_cfg2: TVE_DAC_CFG2,
10 tve_dac_cfg3: TVE_DAC_CFG3,
11 _reserved6: [u8; 0xb8],
12 tve_dac_test: TVE_DAC_TEST,
13}
14impl RegisterBlock {
15 #[doc = "0x20 - TV Encoder DAC MAP Register"]
16 #[inline(always)]
17 pub const fn tve_dac_map(&self) -> &TVE_DAC_MAP {
18 &self.tve_dac_map
19 }
20 #[doc = "0x24 - TV Encoder DAC STAUTS Register"]
21 #[inline(always)]
22 pub const fn tve_dac_status(&self) -> &TVE_DAC_STATUS {
23 &self.tve_dac_status
24 }
25 #[doc = "0x28 - TV Encoder DAC CFG0 Register"]
26 #[inline(always)]
27 pub const fn tve_dac_cfg0(&self) -> &TVE_DAC_CFG0 {
28 &self.tve_dac_cfg0
29 }
30 #[doc = "0x2c - TV Encoder DAC CFG1 Register"]
31 #[inline(always)]
32 pub const fn tve_dac_cfg1(&self) -> &TVE_DAC_CFG1 {
33 &self.tve_dac_cfg1
34 }
35 #[doc = "0x30 - TV Encoder DAC CFG2 Register"]
36 #[inline(always)]
37 pub const fn tve_dac_cfg2(&self) -> &TVE_DAC_CFG2 {
38 &self.tve_dac_cfg2
39 }
40 #[doc = "0x34 - TV Encoder DAC CFG2 Register"]
41 #[inline(always)]
42 pub const fn tve_dac_cfg3(&self) -> &TVE_DAC_CFG3 {
43 &self.tve_dac_cfg3
44 }
45 #[doc = "0xf0 - TV Encoder DAC TEST Register"]
46 #[inline(always)]
47 pub const fn tve_dac_test(&self) -> &TVE_DAC_TEST {
48 &self.tve_dac_test
49 }
50}
51#[doc = "tve_dac_map (rw) register accessor: TV Encoder DAC MAP Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tve_dac_map::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 [`tve_dac_map::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@tve_dac_map`] module"]
52pub type TVE_DAC_MAP = crate::Reg<tve_dac_map::TVE_DAC_MAP_SPEC>;
53#[doc = "TV Encoder DAC MAP Register"]
54pub mod tve_dac_map;
55#[doc = "tve_dac_status (rw) register accessor: TV Encoder DAC STAUTS Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tve_dac_status::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 [`tve_dac_status::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@tve_dac_status`] module"]
56pub type TVE_DAC_STATUS = crate::Reg<tve_dac_status::TVE_DAC_STATUS_SPEC>;
57#[doc = "TV Encoder DAC STAUTS Register"]
58pub mod tve_dac_status;
59#[doc = "tve_dac_cfg0 (rw) register accessor: TV Encoder DAC CFG0 Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tve_dac_cfg0::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 [`tve_dac_cfg0::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@tve_dac_cfg0`] module"]
60pub type TVE_DAC_CFG0 = crate::Reg<tve_dac_cfg0::TVE_DAC_CFG0_SPEC>;
61#[doc = "TV Encoder DAC CFG0 Register"]
62pub mod tve_dac_cfg0;
63#[doc = "tve_dac_cfg1 (rw) register accessor: TV Encoder DAC CFG1 Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tve_dac_cfg1::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 [`tve_dac_cfg1::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@tve_dac_cfg1`] module"]
64pub type TVE_DAC_CFG1 = crate::Reg<tve_dac_cfg1::TVE_DAC_CFG1_SPEC>;
65#[doc = "TV Encoder DAC CFG1 Register"]
66pub mod tve_dac_cfg1;
67#[doc = "tve_dac_cfg2 (rw) register accessor: TV Encoder DAC CFG2 Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tve_dac_cfg2::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 [`tve_dac_cfg2::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@tve_dac_cfg2`] module"]
68pub type TVE_DAC_CFG2 = crate::Reg<tve_dac_cfg2::TVE_DAC_CFG2_SPEC>;
69#[doc = "TV Encoder DAC CFG2 Register"]
70pub mod tve_dac_cfg2;
71#[doc = "tve_dac_cfg3 (rw) register accessor: TV Encoder DAC CFG2 Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tve_dac_cfg3::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 [`tve_dac_cfg3::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@tve_dac_cfg3`] module"]
72pub type TVE_DAC_CFG3 = crate::Reg<tve_dac_cfg3::TVE_DAC_CFG3_SPEC>;
73#[doc = "TV Encoder DAC CFG2 Register"]
74pub mod tve_dac_cfg3;
75#[doc = "tve_dac_test (rw) register accessor: TV Encoder DAC TEST Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`tve_dac_test::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 [`tve_dac_test::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@tve_dac_test`] module"]
76pub type TVE_DAC_TEST = crate::Reg<tve_dac_test::TVE_DAC_TEST_SPEC>;
77#[doc = "TV Encoder DAC TEST Register"]
78pub mod tve_dac_test;