1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#[doc = "Reader of register PECR"]
pub type R = crate::R<u32, super::PECR>;
#[doc = "Reader of field `PEC`"]
pub type PEC_R = crate::R<u8, u8>;
impl R {
    #[doc = "Bits 0:7 - Packet error checking register"]
    #[inline(always)]
    pub fn pec(&self) -> PEC_R {
        PEC_R::new((self.bits & 0xff) as u8)
    }
}