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