atsame70n20b 0.0.2

Peripheral access API for ATSAME70N20B microcontrollers from Atmel/Microchip (generated using svd2rust)
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register AFEC_CDR"]
pub type R = crate::R<u32, super::AFEC_CDR>;
#[doc = "Reader of field `DATA`"]
pub type DATA_R = crate::R<u16, u16>;
impl R {
    #[doc = "Bits 0:15 - Converted Data"]
    #[inline(always)]
    pub fn data(&self) -> DATA_R {
        DATA_R::new((self.bits & 0xffff) as u16)
    }
}