xmc4800/eth0/
tx_frame_count_good.rs1#[doc = "Register `TX_FRAME_COUNT_GOOD` reader"]
2pub type R = crate::R<TX_FRAME_COUNT_GOOD_SPEC>;
3#[doc = "Field `TXFRMG` reader - This field indicates the number of transmitted good frames, exclusive of preamble."]
4pub type TXFRMG_R = crate::FieldReader<u32>;
5impl R {
6 #[doc = "Bits 0:31 - This field indicates the number of transmitted good frames, exclusive of preamble."]
7 #[inline(always)]
8 pub fn txfrmg(&self) -> TXFRMG_R {
9 TXFRMG_R::new(self.bits)
10 }
11}
12#[doc = "Tx Frame Count Good Register\n\nYou can [`read`](crate::Reg::read) this register and get [`tx_frame_count_good::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct TX_FRAME_COUNT_GOOD_SPEC;
14impl crate::RegisterSpec for TX_FRAME_COUNT_GOOD_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`tx_frame_count_good::R`](R) reader structure"]
18impl crate::Readable for TX_FRAME_COUNT_GOOD_SPEC {}
19#[doc = "`reset()` method sets TX_FRAME_COUNT_GOOD to value 0"]
20impl crate::Resettable for TX_FRAME_COUNT_GOOD_SPEC {
21 const RESET_VALUE: u32 = 0;
22}