pub type R = crate::R<APORTCONFLICTrs>;
pub type Aport1xconflictR = crate::BitReader;
pub type Aport1yconflictR = crate::BitReader;
impl R {
#[inline(always)]
pub fn aport1xconflict(&self) -> Aport1xconflictR {
Aport1xconflictR::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn aport1yconflict(&self) -> Aport1yconflictR {
Aport1yconflictR::new(((self.bits >> 3) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("APORTCONFLICT")
.field("aport1xconflict", &self.aport1xconflict())
.field("aport1yconflict", &self.aport1yconflict())
.finish()
}
}
pub struct APORTCONFLICTrs;
impl crate::RegisterSpec for APORTCONFLICTrs {
type Ux = u32;
}
impl crate::Readable for APORTCONFLICTrs {}
impl crate::Resettable for APORTCONFLICTrs {}