pub type R = crate::R<TX_PACKET_COUNT_GOODrs>;
pub type TXPKTG_R = crate::FieldReader<u32>;
impl R {
#[inline(always)]
pub fn txpktg(&self) -> TXPKTG_R {
TXPKTG_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("TX_PACKET_COUNT_GOOD").field("txpktg", &self.txpktg()).finish()
}
}
pub struct TX_PACKET_COUNT_GOODrs;
impl crate::RegisterSpec for TX_PACKET_COUNT_GOODrs {
type Ux = u32;
}
impl crate::Readable for TX_PACKET_COUNT_GOODrs {}
impl crate::Resettable for TX_PACKET_COUNT_GOODrs {}