atsame70n21b 0.0.2

Peripheral access API for ATSAME70N21B microcontrollers from Atmel/Microchip (generated using svd2rust)
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[doc = "Reader of register US_NER"]
pub type R = crate::R<u32, super::US_NER>;
#[doc = "Reader of field `NB_ERRORS`"]
pub type NB_ERRORS_R = crate::R<u8, u8>;
impl R {
    #[doc = "Bits 0:7 - Number of Errors"]
    #[inline(always)]
    pub fn nb_errors(&self) -> NB_ERRORS_R {
        NB_ERRORS_R::new((self.bits & 0xff) as u8)
    }
}