atsamd11c/dsu/
cid0.rs
1#[doc = "Register `CID0` reader"]
2pub type R = crate::R<Cid0Spec>;
3#[doc = "Field `PREAMBLEB0` reader - Preamble Byte 0"]
4pub type Preambleb0R = crate::FieldReader;
5impl R {
6 #[doc = "Bits 0:7 - Preamble Byte 0"]
7 #[inline(always)]
8 pub fn preambleb0(&self) -> Preambleb0R {
9 Preambleb0R::new((self.bits & 0xff) as u8)
10 }
11}
12#[doc = "Component Identification 0\n\nYou can [`read`](crate::Reg::read) this register and get [`cid0::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct Cid0Spec;
14impl crate::RegisterSpec for Cid0Spec {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`cid0::R`](R) reader structure"]
18impl crate::Readable for Cid0Spec {}
19#[doc = "`reset()` method sets CID0 to value 0x0d"]
20impl crate::Resettable for Cid0Spec {
21 const RESET_VALUE: u32 = 0x0d;
22}