From 0666a6ba1dbd66cf8b93c113e362ccbcd99152a0 Mon Sep 17 00:00:00 2001 From: Arne Dußin Date: Sat, 6 Nov 2021 11:50:33 +0100 Subject: Initial commit --- src/ccl.rs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/ccl.rs (limited to 'src/ccl.rs') diff --git a/src/ccl.rs b/src/ccl.rs new file mode 100644 index 0000000..30b1f41 --- /dev/null +++ b/src/ccl.rs @@ -0,0 +1,24 @@ +#[doc = r"Register block"] +#[repr(C)] +pub struct RegisterBlock { + #[doc = "0x00 - Control"] + pub ctrl: crate::Reg, + _reserved1: [u8; 0x03], + #[doc = "0x04 - SEQ Control x"] + pub seqctrl: [crate::Reg; 2], + _reserved2: [u8; 0x02], + #[doc = "0x08..0x18 - LUT Control x"] + pub lutctrl: [crate::Reg; 4], +} +#[doc = "CTRL register accessor: an alias for `Reg`"] +pub type CTRL = crate::Reg; +#[doc = "Control"] +pub mod ctrl; +#[doc = "SEQCTRL register accessor: an alias for `Reg`"] +pub type SEQCTRL = crate::Reg; +#[doc = "SEQ Control x"] +pub mod seqctrl; +#[doc = "LUTCTRL register accessor: an alias for `Reg`"] +pub type LUTCTRL = crate::Reg; +#[doc = "LUT Control x"] +pub mod lutctrl; -- cgit v1.2.3-70-g09d2