xmc1100 0.2.0

Low-level register mappings for the XMC1100 series of ARM Cortex-M0 microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register FLSIZE"]
pub type R = crate::R<u32, super::FLSIZE>;
#[doc = "Reader of field `ADDR`"]
pub type ADDR_R = crate::R<u8, u8>;
impl R {
    #[doc = "Bits 12:17 - Flash Size"]
    #[inline(always)]
    pub fn addr(&self) -> ADDR_R {
        ADDR_R::new(((self.bits >> 12) & 0x3f) as u8)
    }
}