saml10e16a 0.2.0

Rust Peripheral Access Crate for the Atmel SAML10E16A
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register PINSTATE"]
pub type R = crate::R<u32, super::PINSTATE>;
#[doc = "Reader of field `PINSTATE`"]
pub type PINSTATE_R = crate::R<u8, u8>;
impl R {
    #[doc = "Bits 0:7 - Pin State"]
    #[inline(always)]
    pub fn pinstate(&self) -> PINSTATE_R {
        PINSTATE_R::new((self.bits & 0xff) as u8)
    }
}