moondancer_pac/generated/
info.rs1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 version: VERSION,
5}
6impl RegisterBlock {
7 #[doc = "0x00 - Version register major : Contains the Cynthion hardware major revision number. minor : Contains the Cynthion hardware minor revision number."]
8 #[inline(always)]
9 pub const fn version(&self) -> &VERSION {
10 &self.version
11 }
12}
13#[doc = "version (rw) register accessor: Version register major : Contains the Cynthion hardware major revision number. minor : Contains the Cynthion hardware minor revision number.\n\nYou can [`read`](crate::Reg::read) this register and get [`version::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`version::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@version`]
14module"]
15#[doc(alias = "version")]
16pub type VERSION = crate::Reg<version::VERSION_SPEC>;
17#[doc = "Version register major : Contains the Cynthion hardware major revision number. minor : Contains the Cynthion hardware minor revision number."]
18pub mod version;