mk66f18/enet/
rmon_r_crc_align.rs

1#[doc = "Reader of register RMON_R_CRC_ALIGN"]
2pub type R = crate::R<u32, super::RMON_R_CRC_ALIGN>;
3#[doc = "Reader of field `COUNT`"]
4pub type COUNT_R = crate::R<u16, u16>;
5impl R {
6    #[doc = "Bits 0:15 - Number of receive packets with CRC or align error"]
7    #[inline(always)]
8    pub fn count(&self) -> COUNT_R {
9        COUNT_R::new((self.bits & 0xffff) as u16)
10    }
11}