esp32s3 0.4.0

Peripheral access crate for the ESP32-S3
Documentation
#[doc = "Register `Core_1_World_Cancel` writer"]
pub struct W(crate::W<CORE_1_WORLD_CANCEL_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<CORE_1_WORLD_CANCEL_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl core::ops::DerefMut for W {
    #[inline(always)]
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.0
    }
}
impl From<crate::W<CORE_1_WORLD_CANCEL_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<CORE_1_WORLD_CANCEL_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `CORE_1_WORLD_CANCEL` writer - This field is used to cancel switch world configuration,if the trigger address and update configuration complete,can use this register to cancel world switch. can write any value, the hardware only checks the write operation of this register and does not case about its value"]
pub type CORE_1_WORLD_CANCEL_W<'a, const O: u8> =
    crate::FieldWriter<'a, u32, CORE_1_WORLD_CANCEL_SPEC, u32, u32, 32, O>;
impl W {
    #[doc = "Bits 0:31 - This field is used to cancel switch world configuration,if the trigger address and update configuration complete,can use this register to cancel world switch. can write any value, the hardware only checks the write operation of this register and does not case about its value"]
    #[inline(always)]
    pub fn core_1_world_cancel(&mut self) -> CORE_1_WORLD_CANCEL_W<0> {
        CORE_1_WORLD_CANCEL_W::new(self)
    }
    #[doc = "Writes raw bits to the register."]
    #[inline(always)]
    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
        self.0.bits(bits);
        self
    }
}
#[doc = "Core_1 configuration cancel register\n\nThis register you can [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [core_1_world_cancel](index.html) module"]
pub struct CORE_1_WORLD_CANCEL_SPEC;
impl crate::RegisterSpec for CORE_1_WORLD_CANCEL_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [core_1_world_cancel::W](W) writer structure"]
impl crate::Writable for CORE_1_WORLD_CANCEL_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets Core_1_World_Cancel to value 0"]
impl crate::Resettable for CORE_1_WORLD_CANCEL_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}