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