pub type R = crate::R<ABRrs>;
pub type W = crate::W<ABRrs>;
pub type ALTERNATE_R = crate::FieldReader<u32>;
pub type ALTERNATE_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn alternate(&self) -> ALTERNATE_R {
ALTERNATE_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ABR").field("alternate", &self.alternate()).finish()
}
}
impl W {
#[inline(always)]
pub fn alternate(&mut self) -> ALTERNATE_W<ABRrs> {
ALTERNATE_W::new(self, 0)
}
}
pub struct ABRrs;
impl crate::RegisterSpec for ABRrs {
type Ux = u32;
}
impl crate::Readable for ABRrs {}
impl crate::Writable for ABRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for ABRrs {}