1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#[doc = "Register `LOST_LINK_COUNT1` reader"]
pub type R = crate::R<LOST_LINK_COUNT1_SPEC>;
#[doc = "Field `LL_COUNTER` reader - Lost Link counter of Port p"]
pub type LL_COUNTER_R = crate::FieldReader;
impl R {
    #[doc = "Bits 0:7 - Lost Link counter of Port p"]
    #[inline(always)]
    pub fn ll_counter(&self) -> LL_COUNTER_R {
        LL_COUNTER_R::new(self.bits)
    }
}
#[doc = "Lost Link Counter Port 1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`lost_link_count1::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct LOST_LINK_COUNT1_SPEC;
impl crate::RegisterSpec for LOST_LINK_COUNT1_SPEC {
    type Ux = u8;
}
#[doc = "`read()` method returns [`lost_link_count1::R`](R) reader structure"]
impl crate::Readable for LOST_LINK_COUNT1_SPEC {}
#[doc = "`reset()` method sets LOST_LINK_COUNT1 to value 0"]
impl crate::Resettable for LOST_LINK_COUNT1_SPEC {
    const RESET_VALUE: u8 = 0;
}