1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#[doc = "Reader of register RMON_T_P512TO1023"]
pub type R = crate::R<u32, super::RMON_T_P512TO1023>;
#[doc = "Reader of field `TXPKTS`"]
pub type TXPKTS_R = crate::R<u16, u16>;
impl R {
    #[doc = "Bits 0:15 - Number of 512- to 1023-byte transmit packets"]
    #[inline(always)]
    pub fn txpkts(&self) -> TXPKTS_R {
        TXPKTS_R::new((self.bits & 0xffff) as u16)
    }
}