pub type R = crate::R<_PSCrs>;
pub type W = crate::W<_PSCrs>;
pub type PSC_R = crate::FieldReader<u16>;
pub type PSC_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl R {
#[inline(always)]
pub fn psc(&self) -> PSC_R {
PSC_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("_PSC").field("psc", &self.psc()).finish()
}
}
impl W {
#[inline(always)]
pub fn psc(&mut self) -> PSC_W<_PSCrs> {
PSC_W::new(self, 0)
}
}
pub struct _PSCrs;
impl crate::RegisterSpec for _PSCrs {
type Ux = u16;
}
impl crate::Readable for _PSCrs {}
impl crate::Writable for _PSCrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for _PSCrs {}