esp32s2/system/
jtag_ctrl_7.rs

1#[doc = "Register `JTAG_CTRL_7` writer"]
2pub type W = crate::W<JTAG_CTRL_7_SPEC>;
3#[doc = "Field `CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_7` writer - Stores the 0 to 224 bits of the 255 bits register used to cancel the temporary disable of eFuse to JTAG."]
4pub type CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_7_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
5#[cfg(feature = "impl-register-debug")]
6impl core::fmt::Debug for crate::generic::Reg<JTAG_CTRL_7_SPEC> {
7    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
8        write!(f, "(not readable)")
9    }
10}
11impl W {
12    #[doc = "Bits 0:31 - Stores the 0 to 224 bits of the 255 bits register used to cancel the temporary disable of eFuse to JTAG."]
13    #[inline(always)]
14    pub fn cancel_efuse_disable_jtag_temporary_7(
15        &mut self,
16    ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_7_W<JTAG_CTRL_7_SPEC> {
17        CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_7_W::new(self, 0)
18    }
19}
20#[doc = "JTAG configuration register 7\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`jtag_ctrl_7::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
21pub struct JTAG_CTRL_7_SPEC;
22impl crate::RegisterSpec for JTAG_CTRL_7_SPEC {
23    type Ux = u32;
24}
25#[doc = "`write(|w| ..)` method takes [`jtag_ctrl_7::W`](W) writer structure"]
26impl crate::Writable for JTAG_CTRL_7_SPEC {
27    type Safety = crate::Unsafe;
28    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
29    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
30}
31#[doc = "`reset()` method sets JTAG_CTRL_7 to value 0"]
32impl crate::Resettable for JTAG_CTRL_7_SPEC {
33    const RESET_VALUE: u32 = 0;
34}