///Register `OR` reader
pub type R = crate::R<ORrs>;
///Register `OR` writer
pub type W = crate::W<ORrs>;
///Field `TS_OP0` reader - general purpose option bits
pub type TS_OP0_R = crate::BitReader;
///Field `TS_OP0` writer - general purpose option bits
pub type TS_OP0_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP1` reader - general purpose option bits
pub type TS_OP1_R = crate::BitReader;
///Field `TS_OP1` writer - general purpose option bits
pub type TS_OP1_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP2` reader - general purpose option bits
pub type TS_OP2_R = crate::BitReader;
///Field `TS_OP2` writer - general purpose option bits
pub type TS_OP2_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP3` reader - general purpose option bits
pub type TS_OP3_R = crate::BitReader;
///Field `TS_OP3` writer - general purpose option bits
pub type TS_OP3_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP4` reader - general purpose option bits
pub type TS_OP4_R = crate::BitReader;
///Field `TS_OP4` writer - general purpose option bits
pub type TS_OP4_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP5` reader - general purpose option bits
pub type TS_OP5_R = crate::BitReader;
///Field `TS_OP5` writer - general purpose option bits
pub type TS_OP5_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP6` reader - general purpose option bits
pub type TS_OP6_R = crate::BitReader;
///Field `TS_OP6` writer - general purpose option bits
pub type TS_OP6_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP7` reader - general purpose option bits
pub type TS_OP7_R = crate::BitReader;
///Field `TS_OP7` writer - general purpose option bits
pub type TS_OP7_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP8` reader - general purpose option bits
pub type TS_OP8_R = crate::BitReader;
///Field `TS_OP8` writer - general purpose option bits
pub type TS_OP8_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP9` reader - general purpose option bits
pub type TS_OP9_R = crate::BitReader;
///Field `TS_OP9` writer - general purpose option bits
pub type TS_OP9_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP10` reader - general purpose option bits
pub type TS_OP10_R = crate::BitReader;
///Field `TS_OP10` writer - general purpose option bits
pub type TS_OP10_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP11` reader - general purpose option bits
pub type TS_OP11_R = crate::BitReader;
///Field `TS_OP11` writer - general purpose option bits
pub type TS_OP11_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP12` reader - general purpose option bits
pub type TS_OP12_R = crate::BitReader;
///Field `TS_OP12` writer - general purpose option bits
pub type TS_OP12_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP13` reader - general purpose option bits
pub type TS_OP13_R = crate::BitReader;
///Field `TS_OP13` writer - general purpose option bits
pub type TS_OP13_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP14` reader - general purpose option bits
pub type TS_OP14_R = crate::BitReader;
///Field `TS_OP14` writer - general purpose option bits
pub type TS_OP14_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP15` reader - general purpose option bits
pub type TS_OP15_R = crate::BitReader;
///Field `TS_OP15` writer - general purpose option bits
pub type TS_OP15_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP16` reader - general purpose option bits
pub type TS_OP16_R = crate::BitReader;
///Field `TS_OP16` writer - general purpose option bits
pub type TS_OP16_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP17` reader - general purpose option bits
pub type TS_OP17_R = crate::BitReader;
///Field `TS_OP17` writer - general purpose option bits
pub type TS_OP17_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP18` reader - general purpose option bits
pub type TS_OP18_R = crate::BitReader;
///Field `TS_OP18` writer - general purpose option bits
pub type TS_OP18_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP19` reader - general purpose option bits
pub type TS_OP19_R = crate::BitReader;
///Field `TS_OP19` writer - general purpose option bits
pub type TS_OP19_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP20` reader - general purpose option bits
pub type TS_OP20_R = crate::BitReader;
///Field `TS_OP20` writer - general purpose option bits
pub type TS_OP20_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP21` reader - general purpose option bits
pub type TS_OP21_R = crate::BitReader;
///Field `TS_OP21` writer - general purpose option bits
pub type TS_OP21_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP22` reader - general purpose option bits
pub type TS_OP22_R = crate::BitReader;
///Field `TS_OP22` writer - general purpose option bits
pub type TS_OP22_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP23` reader - general purpose option bits
pub type TS_OP23_R = crate::BitReader;
///Field `TS_OP23` writer - general purpose option bits
pub type TS_OP23_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP24` reader - general purpose option bits
pub type TS_OP24_R = crate::BitReader;
///Field `TS_OP24` writer - general purpose option bits
pub type TS_OP24_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP25` reader - general purpose option bits
pub type TS_OP25_R = crate::BitReader;
///Field `TS_OP25` writer - general purpose option bits
pub type TS_OP25_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP26` reader - general purpose option bits
pub type TS_OP26_R = crate::BitReader;
///Field `TS_OP26` writer - general purpose option bits
pub type TS_OP26_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP27` reader - general purpose option bits
pub type TS_OP27_R = crate::BitReader;
///Field `TS_OP27` writer - general purpose option bits
pub type TS_OP27_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP28` reader - general purpose option bits
pub type TS_OP28_R = crate::BitReader;
///Field `TS_OP28` writer - general purpose option bits
pub type TS_OP28_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP29` reader - general purpose option bits
pub type TS_OP29_R = crate::BitReader;
///Field `TS_OP29` writer - general purpose option bits
pub type TS_OP29_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP30` reader - general purpose option bits
pub type TS_OP30_R = crate::BitReader;
///Field `TS_OP30` writer - general purpose option bits
pub type TS_OP30_W<'a, REG> = crate::BitWriter<'a, REG>;
///Field `TS_OP31` reader - general purpose option bits
pub type TS_OP31_R = crate::BitReader;
///Field `TS_OP31` writer - general purpose option bits
pub type TS_OP31_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    ///Bit 0 - general purpose option bits
    #[inline(always)]
    pub fn ts_op0(&self) -> TS_OP0_R {
        TS_OP0_R::new((self.bits & 1) != 0)
    }
    ///Bit 1 - general purpose option bits
    #[inline(always)]
    pub fn ts_op1(&self) -> TS_OP1_R {
        TS_OP1_R::new(((self.bits >> 1) & 1) != 0)
    }
    ///Bit 2 - general purpose option bits
    #[inline(always)]
    pub fn ts_op2(&self) -> TS_OP2_R {
        TS_OP2_R::new(((self.bits >> 2) & 1) != 0)
    }
    ///Bit 3 - general purpose option bits
    #[inline(always)]
    pub fn ts_op3(&self) -> TS_OP3_R {
        TS_OP3_R::new(((self.bits >> 3) & 1) != 0)
    }
    ///Bit 4 - general purpose option bits
    #[inline(always)]
    pub fn ts_op4(&self) -> TS_OP4_R {
        TS_OP4_R::new(((self.bits >> 4) & 1) != 0)
    }
    ///Bit 5 - general purpose option bits
    #[inline(always)]
    pub fn ts_op5(&self) -> TS_OP5_R {
        TS_OP5_R::new(((self.bits >> 5) & 1) != 0)
    }
    ///Bit 6 - general purpose option bits
    #[inline(always)]
    pub fn ts_op6(&self) -> TS_OP6_R {
        TS_OP6_R::new(((self.bits >> 6) & 1) != 0)
    }
    ///Bit 7 - general purpose option bits
    #[inline(always)]
    pub fn ts_op7(&self) -> TS_OP7_R {
        TS_OP7_R::new(((self.bits >> 7) & 1) != 0)
    }
    ///Bit 8 - general purpose option bits
    #[inline(always)]
    pub fn ts_op8(&self) -> TS_OP8_R {
        TS_OP8_R::new(((self.bits >> 8) & 1) != 0)
    }
    ///Bit 9 - general purpose option bits
    #[inline(always)]
    pub fn ts_op9(&self) -> TS_OP9_R {
        TS_OP9_R::new(((self.bits >> 9) & 1) != 0)
    }
    ///Bit 10 - general purpose option bits
    #[inline(always)]
    pub fn ts_op10(&self) -> TS_OP10_R {
        TS_OP10_R::new(((self.bits >> 10) & 1) != 0)
    }
    ///Bit 11 - general purpose option bits
    #[inline(always)]
    pub fn ts_op11(&self) -> TS_OP11_R {
        TS_OP11_R::new(((self.bits >> 11) & 1) != 0)
    }
    ///Bit 12 - general purpose option bits
    #[inline(always)]
    pub fn ts_op12(&self) -> TS_OP12_R {
        TS_OP12_R::new(((self.bits >> 12) & 1) != 0)
    }
    ///Bit 13 - general purpose option bits
    #[inline(always)]
    pub fn ts_op13(&self) -> TS_OP13_R {
        TS_OP13_R::new(((self.bits >> 13) & 1) != 0)
    }
    ///Bit 14 - general purpose option bits
    #[inline(always)]
    pub fn ts_op14(&self) -> TS_OP14_R {
        TS_OP14_R::new(((self.bits >> 14) & 1) != 0)
    }
    ///Bit 15 - general purpose option bits
    #[inline(always)]
    pub fn ts_op15(&self) -> TS_OP15_R {
        TS_OP15_R::new(((self.bits >> 15) & 1) != 0)
    }
    ///Bit 16 - general purpose option bits
    #[inline(always)]
    pub fn ts_op16(&self) -> TS_OP16_R {
        TS_OP16_R::new(((self.bits >> 16) & 1) != 0)
    }
    ///Bit 17 - general purpose option bits
    #[inline(always)]
    pub fn ts_op17(&self) -> TS_OP17_R {
        TS_OP17_R::new(((self.bits >> 17) & 1) != 0)
    }
    ///Bit 18 - general purpose option bits
    #[inline(always)]
    pub fn ts_op18(&self) -> TS_OP18_R {
        TS_OP18_R::new(((self.bits >> 18) & 1) != 0)
    }
    ///Bit 19 - general purpose option bits
    #[inline(always)]
    pub fn ts_op19(&self) -> TS_OP19_R {
        TS_OP19_R::new(((self.bits >> 19) & 1) != 0)
    }
    ///Bit 20 - general purpose option bits
    #[inline(always)]
    pub fn ts_op20(&self) -> TS_OP20_R {
        TS_OP20_R::new(((self.bits >> 20) & 1) != 0)
    }
    ///Bit 21 - general purpose option bits
    #[inline(always)]
    pub fn ts_op21(&self) -> TS_OP21_R {
        TS_OP21_R::new(((self.bits >> 21) & 1) != 0)
    }
    ///Bit 22 - general purpose option bits
    #[inline(always)]
    pub fn ts_op22(&self) -> TS_OP22_R {
        TS_OP22_R::new(((self.bits >> 22) & 1) != 0)
    }
    ///Bit 23 - general purpose option bits
    #[inline(always)]
    pub fn ts_op23(&self) -> TS_OP23_R {
        TS_OP23_R::new(((self.bits >> 23) & 1) != 0)
    }
    ///Bit 24 - general purpose option bits
    #[inline(always)]
    pub fn ts_op24(&self) -> TS_OP24_R {
        TS_OP24_R::new(((self.bits >> 24) & 1) != 0)
    }
    ///Bit 25 - general purpose option bits
    #[inline(always)]
    pub fn ts_op25(&self) -> TS_OP25_R {
        TS_OP25_R::new(((self.bits >> 25) & 1) != 0)
    }
    ///Bit 26 - general purpose option bits
    #[inline(always)]
    pub fn ts_op26(&self) -> TS_OP26_R {
        TS_OP26_R::new(((self.bits >> 26) & 1) != 0)
    }
    ///Bit 27 - general purpose option bits
    #[inline(always)]
    pub fn ts_op27(&self) -> TS_OP27_R {
        TS_OP27_R::new(((self.bits >> 27) & 1) != 0)
    }
    ///Bit 28 - general purpose option bits
    #[inline(always)]
    pub fn ts_op28(&self) -> TS_OP28_R {
        TS_OP28_R::new(((self.bits >> 28) & 1) != 0)
    }
    ///Bit 29 - general purpose option bits
    #[inline(always)]
    pub fn ts_op29(&self) -> TS_OP29_R {
        TS_OP29_R::new(((self.bits >> 29) & 1) != 0)
    }
    ///Bit 30 - general purpose option bits
    #[inline(always)]
    pub fn ts_op30(&self) -> TS_OP30_R {
        TS_OP30_R::new(((self.bits >> 30) & 1) != 0)
    }
    ///Bit 31 - general purpose option bits
    #[inline(always)]
    pub fn ts_op31(&self) -> TS_OP31_R {
        TS_OP31_R::new(((self.bits >> 31) & 1) != 0)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("OR")
            .field("ts_op0", &self.ts_op0())
            .field("ts_op1", &self.ts_op1())
            .field("ts_op2", &self.ts_op2())
            .field("ts_op3", &self.ts_op3())
            .field("ts_op4", &self.ts_op4())
            .field("ts_op5", &self.ts_op5())
            .field("ts_op6", &self.ts_op6())
            .field("ts_op7", &self.ts_op7())
            .field("ts_op8", &self.ts_op8())
            .field("ts_op9", &self.ts_op9())
            .field("ts_op10", &self.ts_op10())
            .field("ts_op11", &self.ts_op11())
            .field("ts_op12", &self.ts_op12())
            .field("ts_op13", &self.ts_op13())
            .field("ts_op14", &self.ts_op14())
            .field("ts_op15", &self.ts_op15())
            .field("ts_op16", &self.ts_op16())
            .field("ts_op17", &self.ts_op17())
            .field("ts_op18", &self.ts_op18())
            .field("ts_op19", &self.ts_op19())
            .field("ts_op20", &self.ts_op20())
            .field("ts_op21", &self.ts_op21())
            .field("ts_op22", &self.ts_op22())
            .field("ts_op23", &self.ts_op23())
            .field("ts_op24", &self.ts_op24())
            .field("ts_op25", &self.ts_op25())
            .field("ts_op26", &self.ts_op26())
            .field("ts_op27", &self.ts_op27())
            .field("ts_op28", &self.ts_op28())
            .field("ts_op29", &self.ts_op29())
            .field("ts_op30", &self.ts_op30())
            .field("ts_op31", &self.ts_op31())
            .finish()
    }
}
impl W {
    ///Bit 0 - general purpose option bits
    #[inline(always)]
    pub fn ts_op0(&mut self) -> TS_OP0_W<ORrs> {
        TS_OP0_W::new(self, 0)
    }
    ///Bit 1 - general purpose option bits
    #[inline(always)]
    pub fn ts_op1(&mut self) -> TS_OP1_W<ORrs> {
        TS_OP1_W::new(self, 1)
    }
    ///Bit 2 - general purpose option bits
    #[inline(always)]
    pub fn ts_op2(&mut self) -> TS_OP2_W<ORrs> {
        TS_OP2_W::new(self, 2)
    }
    ///Bit 3 - general purpose option bits
    #[inline(always)]
    pub fn ts_op3(&mut self) -> TS_OP3_W<ORrs> {
        TS_OP3_W::new(self, 3)
    }
    ///Bit 4 - general purpose option bits
    #[inline(always)]
    pub fn ts_op4(&mut self) -> TS_OP4_W<ORrs> {
        TS_OP4_W::new(self, 4)
    }
    ///Bit 5 - general purpose option bits
    #[inline(always)]
    pub fn ts_op5(&mut self) -> TS_OP5_W<ORrs> {
        TS_OP5_W::new(self, 5)
    }
    ///Bit 6 - general purpose option bits
    #[inline(always)]
    pub fn ts_op6(&mut self) -> TS_OP6_W<ORrs> {
        TS_OP6_W::new(self, 6)
    }
    ///Bit 7 - general purpose option bits
    #[inline(always)]
    pub fn ts_op7(&mut self) -> TS_OP7_W<ORrs> {
        TS_OP7_W::new(self, 7)
    }
    ///Bit 8 - general purpose option bits
    #[inline(always)]
    pub fn ts_op8(&mut self) -> TS_OP8_W<ORrs> {
        TS_OP8_W::new(self, 8)
    }
    ///Bit 9 - general purpose option bits
    #[inline(always)]
    pub fn ts_op9(&mut self) -> TS_OP9_W<ORrs> {
        TS_OP9_W::new(self, 9)
    }
    ///Bit 10 - general purpose option bits
    #[inline(always)]
    pub fn ts_op10(&mut self) -> TS_OP10_W<ORrs> {
        TS_OP10_W::new(self, 10)
    }
    ///Bit 11 - general purpose option bits
    #[inline(always)]
    pub fn ts_op11(&mut self) -> TS_OP11_W<ORrs> {
        TS_OP11_W::new(self, 11)
    }
    ///Bit 12 - general purpose option bits
    #[inline(always)]
    pub fn ts_op12(&mut self) -> TS_OP12_W<ORrs> {
        TS_OP12_W::new(self, 12)
    }
    ///Bit 13 - general purpose option bits
    #[inline(always)]
    pub fn ts_op13(&mut self) -> TS_OP13_W<ORrs> {
        TS_OP13_W::new(self, 13)
    }
    ///Bit 14 - general purpose option bits
    #[inline(always)]
    pub fn ts_op14(&mut self) -> TS_OP14_W<ORrs> {
        TS_OP14_W::new(self, 14)
    }
    ///Bit 15 - general purpose option bits
    #[inline(always)]
    pub fn ts_op15(&mut self) -> TS_OP15_W<ORrs> {
        TS_OP15_W::new(self, 15)
    }
    ///Bit 16 - general purpose option bits
    #[inline(always)]
    pub fn ts_op16(&mut self) -> TS_OP16_W<ORrs> {
        TS_OP16_W::new(self, 16)
    }
    ///Bit 17 - general purpose option bits
    #[inline(always)]
    pub fn ts_op17(&mut self) -> TS_OP17_W<ORrs> {
        TS_OP17_W::new(self, 17)
    }
    ///Bit 18 - general purpose option bits
    #[inline(always)]
    pub fn ts_op18(&mut self) -> TS_OP18_W<ORrs> {
        TS_OP18_W::new(self, 18)
    }
    ///Bit 19 - general purpose option bits
    #[inline(always)]
    pub fn ts_op19(&mut self) -> TS_OP19_W<ORrs> {
        TS_OP19_W::new(self, 19)
    }
    ///Bit 20 - general purpose option bits
    #[inline(always)]
    pub fn ts_op20(&mut self) -> TS_OP20_W<ORrs> {
        TS_OP20_W::new(self, 20)
    }
    ///Bit 21 - general purpose option bits
    #[inline(always)]
    pub fn ts_op21(&mut self) -> TS_OP21_W<ORrs> {
        TS_OP21_W::new(self, 21)
    }
    ///Bit 22 - general purpose option bits
    #[inline(always)]
    pub fn ts_op22(&mut self) -> TS_OP22_W<ORrs> {
        TS_OP22_W::new(self, 22)
    }
    ///Bit 23 - general purpose option bits
    #[inline(always)]
    pub fn ts_op23(&mut self) -> TS_OP23_W<ORrs> {
        TS_OP23_W::new(self, 23)
    }
    ///Bit 24 - general purpose option bits
    #[inline(always)]
    pub fn ts_op24(&mut self) -> TS_OP24_W<ORrs> {
        TS_OP24_W::new(self, 24)
    }
    ///Bit 25 - general purpose option bits
    #[inline(always)]
    pub fn ts_op25(&mut self) -> TS_OP25_W<ORrs> {
        TS_OP25_W::new(self, 25)
    }
    ///Bit 26 - general purpose option bits
    #[inline(always)]
    pub fn ts_op26(&mut self) -> TS_OP26_W<ORrs> {
        TS_OP26_W::new(self, 26)
    }
    ///Bit 27 - general purpose option bits
    #[inline(always)]
    pub fn ts_op27(&mut self) -> TS_OP27_W<ORrs> {
        TS_OP27_W::new(self, 27)
    }
    ///Bit 28 - general purpose option bits
    #[inline(always)]
    pub fn ts_op28(&mut self) -> TS_OP28_W<ORrs> {
        TS_OP28_W::new(self, 28)
    }
    ///Bit 29 - general purpose option bits
    #[inline(always)]
    pub fn ts_op29(&mut self) -> TS_OP29_W<ORrs> {
        TS_OP29_W::new(self, 29)
    }
    ///Bit 30 - general purpose option bits
    #[inline(always)]
    pub fn ts_op30(&mut self) -> TS_OP30_W<ORrs> {
        TS_OP30_W::new(self, 30)
    }
    ///Bit 31 - general purpose option bits
    #[inline(always)]
    pub fn ts_op31(&mut self) -> TS_OP31_W<ORrs> {
        TS_OP31_W::new(self, 31)
    }
}
/**Temperature sensor option register

You can [`read`](crate::Reg::read) this register and get [`or::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`or::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).*/
pub struct ORrs;
impl crate::RegisterSpec for ORrs {
    type Ux = u32;
}
///`read()` method returns [`or::R`](R) reader structure
impl crate::Readable for ORrs {}
///`write(|w| ..)` method takes [`or::W`](W) writer structure
impl crate::Writable for ORrs {
    type Safety = crate::Unsafe;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
///`reset()` method sets OR to value 0
impl crate::Resettable for ORrs {
    const RESET_VALUE: u32 = 0;
}
