diff options
| author | Arne Dußin | 2021-11-06 11:50:33 +0100 |
|---|---|---|
| committer | Arne Dußin | 2021-11-06 11:50:33 +0100 |
| commit | 0666a6ba1dbd66cf8b93c113e362ccbcd99152a0 (patch) | |
| tree | a184284dbd2316f4624f092e4e7521ea8c90855b /src/ccl.rs | |
| download | samc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.tar.gz samc21-0666a6ba1dbd66cf8b93c113e362ccbcd99152a0.zip | |
Initial commit
Diffstat (limited to 'src/ccl.rs')
| -rw-r--r-- | src/ccl.rs | 24 |
1 files changed, 24 insertions, 0 deletions
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<ctrl::CTRL_SPEC>, + _reserved1: [u8; 0x03], + #[doc = "0x04 - SEQ Control x"] + pub seqctrl: [crate::Reg<seqctrl::SEQCTRL_SPEC>; 2], + _reserved2: [u8; 0x02], + #[doc = "0x08..0x18 - LUT Control x"] + pub lutctrl: [crate::Reg<lutctrl::LUTCTRL_SPEC>; 4], +} +#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"] +pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>; +#[doc = "Control"] +pub mod ctrl; +#[doc = "SEQCTRL register accessor: an alias for `Reg<SEQCTRL_SPEC>`"] +pub type SEQCTRL = crate::Reg<seqctrl::SEQCTRL_SPEC>; +#[doc = "SEQ Control x"] +pub mod seqctrl; +#[doc = "LUTCTRL register accessor: an alias for `Reg<LUTCTRL_SPEC>`"] +pub type LUTCTRL = crate::Reg<lutctrl::LUTCTRL_SPEC>; +#[doc = "LUT Control x"] +pub mod lutctrl; |
