pub type R = crate::R<HTR1rs>;
pub type W = crate::W<HTR1rs>;
pub type HTR1_R = crate::FieldReader<u32>;
pub type HTR1_W<'a, REG> = crate::FieldWriter<'a, REG, 26, u32, crate::Safe>;
impl R {
#[inline(always)]
pub fn htr1(&self) -> HTR1_R {
HTR1_R::new(self.bits & 0x03ff_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("HTR1").field("htr1", &self.htr1()).finish()
}
}
impl W {
#[inline(always)]
pub fn htr1(&mut self) -> HTR1_W<HTR1rs> {
HTR1_W::new(self, 0)
}
}
pub struct HTR1rs;
impl crate::RegisterSpec for HTR1rs {
type Ux = u32;
}
impl crate::Readable for HTR1rs {}
impl crate::Writable for HTR1rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for HTR1rs {
const RESET_VALUE: u32 = 0x03ff_ffff;
}