pub type R = crate::R<TISELrs>;
pub type W = crate::W<TISELrs>;
pub type TI1SEL_R = crate::FieldReader;
pub type TI1SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 4>;
impl R {
#[inline(always)]
pub fn ti1sel(&self) -> TI1SEL_R {
TI1SEL_R::new((self.bits & 0x0f) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("TISEL").field("ti1sel", &self.ti1sel()).finish()
}
}
impl W {
#[inline(always)]
pub fn ti1sel(&mut self) -> TI1SEL_W<TISELrs> {
TI1SEL_W::new(self, 0)
}
}
pub struct TISELrs;
impl crate::RegisterSpec for TISELrs {
type Ux = u32;
}
impl crate::Readable for TISELrs {}
impl crate::Writable for TISELrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for TISELrs {}