Skip to main content

ADuCM302x/uart0/
asrh.rs

1#[doc = "Reader of register ASRH"]
2pub type R = crate::R<u16, super::ASRH>;
3#[doc = "Reader of field `CNT`"]
4pub type CNT_R = crate::R<u8, u8>;
5impl R {
6    #[doc = "Bits 0:7 - CNT\\[19:12\\]
7Auto Baud Counter Value"]
8    #[inline(always)]
9    pub fn cnt(&self) -> CNT_R {
10        CNT_R::new((self.bits & 0xff) as u8)
11    }
12}