efm32pg12-pac 0.3.0

Peripheral access API for Silicon Labs EFM32PG12 microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register AUXCNT"]
pub type R = crate::R<u32, super::AUXCNT>;
#[doc = "Reader of field `AUXCNT`"]
pub type AUXCNT_R = crate::R<u16, u16>;
impl R {
    #[doc = "Bits 0:15 - Auxiliary Counter Value"]
    #[inline(always)]
    pub fn auxcnt(&self) -> AUXCNT_R {
        AUXCNT_R::new((self.bits & 0xffff) as u16)
    }
}