pub type R = crate::R<WPABRrs>;
pub type W = crate::W<WPABRrs>;
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("WPABR").field("alternate", &self.alternate()).finish()
}
}
impl W {
#[inline(always)]
pub fn alternate(&mut self) -> ALTERNATE_W<WPABRrs> {
ALTERNATE_W::new(self, 0)
}
}
pub struct WPABRrs;
impl crate::RegisterSpec for WPABRrs {
type Ux = u32;
}
impl crate::Readable for WPABRrs {}
impl crate::Writable for WPABRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for WPABRrs {}