1#[doc = "Reader of register CC"]
2pub type R = crate::R<u32, super::CC>;
3#[doc = "Reader of field `POL`"]
4pub type POL_R = crate::R<bool, bool>;
5#[doc = "Reader of field `PTPCEN`"]
6pub type PTPCEN_R = crate::R<bool, bool>;
7impl R {
8 #[doc = "Bit 17 - LED Polarity Control"]
9 #[inline(always)]
10 pub fn pol(&self) -> POL_R {
11 POL_R::new(((self.bits >> 17) & 0x01) != 0)
12 }
13 #[doc = "Bit 18 - PTP Clock Reference Enable"]
14 #[inline(always)]
15 pub fn ptpcen(&self) -> PTPCEN_R {
16 PTPCEN_R::new(((self.bits >> 18) & 0x01) != 0)
17 }
18}