atmega32u4 0.1.3

Low level access to ATmega32U4 registers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[doc = r" Value read from the register"]
pub struct R {
    bits: u8,
}
impl super::UEBCLX {
    #[doc = r" Reads the contents of the register"]
    #[inline]
    pub fn read(&self) -> R {
        R { bits: self.register.get() }
    }
}
impl R {
    #[doc = r" Value of the register as raw bits"]
    #[inline]
    pub fn bits(&self) -> u8 {
        self.bits
    }
}