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