xmc4500/eth0/
tx_256to511octets_frames_good_bad.rs

1#[doc = "Register `TX_256TO511OCTETS_FRAMES_GOOD_BAD` reader"]
2pub type R = crate::R<TX_256TO511OCTETS_FRAMES_GOOD_BAD_SPEC>;
3#[doc = "Field `TX256_511OCTGB` reader - This field indicates the number of transmitted good and bad frames with length between 256 and 511 (inclusive) bytes, exclusive of preamble and retried frames."]
4pub type TX256_511OCTGB_R = crate::FieldReader<u32>;
5impl R {
6    #[doc = "Bits 0:31 - This field indicates the number of transmitted good and bad frames with length between 256 and 511 (inclusive) bytes, exclusive of preamble and retried frames."]
7    #[inline(always)]
8    pub fn tx256_511octgb(&self) -> TX256_511OCTGB_R {
9        TX256_511OCTGB_R::new(self.bits)
10    }
11}
12#[doc = "Transmit Octet Count for Good and Bad 256 to 511 Bytes Frames\n\nYou can [`read`](crate::Reg::read) this register and get [`tx_256to511octets_frames_good_bad::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct TX_256TO511OCTETS_FRAMES_GOOD_BAD_SPEC;
14impl crate::RegisterSpec for TX_256TO511OCTETS_FRAMES_GOOD_BAD_SPEC {
15    type Ux = u32;
16}
17#[doc = "`read()` method returns [`tx_256to511octets_frames_good_bad::R`](R) reader structure"]
18impl crate::Readable for TX_256TO511OCTETS_FRAMES_GOOD_BAD_SPEC {}
19#[doc = "`reset()` method sets TX_256TO511OCTETS_FRAMES_GOOD_BAD to value 0"]
20impl crate::Resettable for TX_256TO511OCTETS_FRAMES_GOOD_BAD_SPEC {
21    const RESET_VALUE: u32 = 0;
22}