atsame53n/gmac/
lc.rs

1#[doc = "Register `LC` reader"]
2pub type R = crate::R<LcSpec>;
3#[doc = "Field `LCOL` reader - Late Collisions"]
4pub type LcolR = crate::FieldReader<u16>;
5impl R {
6    #[doc = "Bits 0:9 - Late Collisions"]
7    #[inline(always)]
8    pub fn lcol(&self) -> LcolR {
9        LcolR::new((self.bits & 0x03ff) as u16)
10    }
11}
12#[doc = "Late Collisions Register\n\nYou can [`read`](crate::Reg::read) this register and get [`lc::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct LcSpec;
14impl crate::RegisterSpec for LcSpec {
15    type Ux = u32;
16}
17#[doc = "`read()` method returns [`lc::R`](R) reader structure"]
18impl crate::Readable for LcSpec {}
19#[doc = "`reset()` method sets LC to value 0"]
20impl crate::Resettable for LcSpec {
21    const RESET_VALUE: u32 = 0;
22}