pub type R = crate::R<TTLGTrs>;
pub type LT_R = crate::FieldReader<u16>;
pub type GT_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn lt(&self) -> LT_R {
LT_R::new((self.bits & 0xffff) as u16)
}
#[inline(always)]
pub fn gt(&self) -> GT_R {
GT_R::new(((self.bits >> 16) & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("TTLGT").field("lt", &self.lt()).field("gt", &self.gt()).finish()
}
}
pub struct TTLGTrs;
impl crate::RegisterSpec for TTLGTrs {
type Ux = u32;
}
impl crate::Readable for TTLGTrs {}
impl crate::Resettable for TTLGTrs {}