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