efm32pg1b_pac/idac0/
aportreq.rs1pub type R = crate::R<APORTREQrs>;
3pub type Aport1xreqR = crate::BitReader;
5pub type Aport1yreqR = crate::BitReader;
7impl R {
8 #[inline(always)]
10 pub fn aport1xreq(&self) -> Aport1xreqR {
11 Aport1xreqR::new(((self.bits >> 2) & 1) != 0)
12 }
13 #[inline(always)]
15 pub fn aport1yreq(&self) -> Aport1yreqR {
16 Aport1yreqR::new(((self.bits >> 3) & 1) != 0)
17 }
18}
19impl core::fmt::Debug for R {
20 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
21 f.debug_struct("APORTREQ")
22 .field("aport1xreq", &self.aport1xreq())
23 .field("aport1yreq", &self.aport1yreq())
24 .finish()
25 }
26}
27pub struct APORTREQrs;
31impl crate::RegisterSpec for APORTREQrs {
32 type Ux = u32;
33}
34impl crate::Readable for APORTREQrs {}
36impl crate::Resettable for APORTREQrs {
38 const RESET_VALUE: u32 = 0;
39}