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