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