#[doc = "Register `JTAG_CTRL_6` writer"]
pub type W = crate::W<JTAG_CTRL_6_SPEC>;
#[doc = "Field `CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_6` writer - Stores the 192 to 223 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."]
pub type CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_6_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<JTAG_CTRL_6_SPEC> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[doc = "Bits 0:31 - Stores the 192 to 223 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."]
#[inline(always)]
#[must_use]
pub fn cancel_efuse_disable_jtag_temporary_6(
&mut self,
) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_6_W<JTAG_CTRL_6_SPEC> {
CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_6_W::new(self, 0)
}
#[doc = r" Writes raw bits to the register."]
#[doc = r""]
#[doc = r" # Safety"]
#[doc = r""]
#[doc = r" Passing incorrect value can cause undefined behaviour. See reference manual"]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.bits = bits;
self
}
}
#[doc = "JTAG configuration register 6\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`jtag_ctrl_6::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct JTAG_CTRL_6_SPEC;
impl crate::RegisterSpec for JTAG_CTRL_6_SPEC {
type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`jtag_ctrl_6::W`](W) writer structure"]
impl crate::Writable for JTAG_CTRL_6_SPEC {
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
}
#[doc = "`reset()` method sets JTAG_CTRL_6 to value 0"]
impl crate::Resettable for JTAG_CTRL_6_SPEC {
const RESET_VALUE: Self::Ux = 0;
}