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