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