atsamd51g/pcc/
rhr.rs
1#[doc = "Register `RHR` reader"]
2pub type R = crate::R<RhrSpec>;
3#[doc = "Field `RDATA` reader - Reception Data"]
4pub type RdataR = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - Reception Data"]
7 #[inline(always)]
8 pub fn rdata(&self) -> RdataR {
9 RdataR::new(self.bits)
10 }
11}
12#[doc = "Reception Holding Register\n\nYou can [`read`](crate::Reg::read) this register and get [`rhr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct RhrSpec;
14impl crate::RegisterSpec for RhrSpec {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`rhr::R`](R) reader structure"]
18impl crate::Readable for RhrSpec {}
19#[doc = "`reset()` method sets RHR to value 0"]
20impl crate::Resettable for RhrSpec {
21 const RESET_VALUE: u32 = 0;
22}