saml10e16a 0.2.0

Rust Peripheral Access Crate for the Atmel SAML10E16A
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[doc = "Reader of register DPIDR1"]
pub type R = crate::R<u32, super::DPIDR1>;
#[doc = "Reader of field `PART_1`"]
pub type PART_1_R = crate::R<u8, u8>;
#[doc = "Reader of field `DES_0`"]
pub type DES_0_R = crate::R<u8, u8>;
impl R {
    #[doc = "Bits 0:3 - Part number bits\\[11:8\\]"]
    #[inline(always)]
    pub fn part_1(&self) -> PART_1_R {
        PART_1_R::new((self.bits & 0x0f) as u8)
    }
    #[doc = "Bits 4:7 - JEP106 identification code bits \\[3:0\\]"]
    #[inline(always)]
    pub fn des_0(&self) -> DES_0_R {
        DES_0_R::new(((self.bits >> 4) & 0x0f) as u8)
    }
}