#[doc = "Register `HP_RST_EN1` reader"]
pub type R = crate::R<HP_RST_EN1_SPEC>;
#[doc = "Register `HP_RST_EN1` writer"]
pub type W = crate::W<HP_RST_EN1_SPEC>;
#[doc = "Field `RST_EN_PPA` reader - Reserved"]
pub type RST_EN_PPA_R = crate::BitReader;
#[doc = "Field `RST_EN_PPA` writer - Reserved"]
pub type RST_EN_PPA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_AHB_PDMA` reader - Reserved"]
pub type RST_EN_AHB_PDMA_R = crate::BitReader;
#[doc = "Field `RST_EN_AHB_PDMA` writer - Reserved"]
pub type RST_EN_AHB_PDMA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_AXI_PDMA` reader - Reserved"]
pub type RST_EN_AXI_PDMA_R = crate::BitReader;
#[doc = "Field `RST_EN_AXI_PDMA` writer - Reserved"]
pub type RST_EN_AXI_PDMA_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_IOMUX` reader - Reserved"]
pub type RST_EN_IOMUX_R = crate::BitReader;
#[doc = "Field `RST_EN_IOMUX` writer - Reserved"]
pub type RST_EN_IOMUX_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_PADBIST` reader - Reserved"]
pub type RST_EN_PADBIST_R = crate::BitReader;
#[doc = "Field `RST_EN_PADBIST` writer - Reserved"]
pub type RST_EN_PADBIST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_STIMER` reader - Reserved"]
pub type RST_EN_STIMER_R = crate::BitReader;
#[doc = "Field `RST_EN_STIMER` writer - Reserved"]
pub type RST_EN_STIMER_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_TIMERGRP0` reader - Reserved"]
pub type RST_EN_TIMERGRP0_R = crate::BitReader;
#[doc = "Field `RST_EN_TIMERGRP0` writer - Reserved"]
pub type RST_EN_TIMERGRP0_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_TIMERGRP1` reader - Reserved"]
pub type RST_EN_TIMERGRP1_R = crate::BitReader;
#[doc = "Field `RST_EN_TIMERGRP1` writer - Reserved"]
pub type RST_EN_TIMERGRP1_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART0_CORE` reader - Reserved"]
pub type RST_EN_UART0_CORE_R = crate::BitReader;
#[doc = "Field `RST_EN_UART0_CORE` writer - Reserved"]
pub type RST_EN_UART0_CORE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART1_CORE` reader - Reserved"]
pub type RST_EN_UART1_CORE_R = crate::BitReader;
#[doc = "Field `RST_EN_UART1_CORE` writer - Reserved"]
pub type RST_EN_UART1_CORE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART2_CORE` reader - Reserved"]
pub type RST_EN_UART2_CORE_R = crate::BitReader;
#[doc = "Field `RST_EN_UART2_CORE` writer - Reserved"]
pub type RST_EN_UART2_CORE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART3_CORE` reader - Reserved"]
pub type RST_EN_UART3_CORE_R = crate::BitReader;
#[doc = "Field `RST_EN_UART3_CORE` writer - Reserved"]
pub type RST_EN_UART3_CORE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART4_CORE` reader - Reserved"]
pub type RST_EN_UART4_CORE_R = crate::BitReader;
#[doc = "Field `RST_EN_UART4_CORE` writer - Reserved"]
pub type RST_EN_UART4_CORE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART0_APB` reader - Reserved"]
pub type RST_EN_UART0_APB_R = crate::BitReader;
#[doc = "Field `RST_EN_UART0_APB` writer - Reserved"]
pub type RST_EN_UART0_APB_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART1_APB` reader - Reserved"]
pub type RST_EN_UART1_APB_R = crate::BitReader;
#[doc = "Field `RST_EN_UART1_APB` writer - Reserved"]
pub type RST_EN_UART1_APB_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART2_APB` reader - Reserved"]
pub type RST_EN_UART2_APB_R = crate::BitReader;
#[doc = "Field `RST_EN_UART2_APB` writer - Reserved"]
pub type RST_EN_UART2_APB_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART3_APB` reader - Reserved"]
pub type RST_EN_UART3_APB_R = crate::BitReader;
#[doc = "Field `RST_EN_UART3_APB` writer - Reserved"]
pub type RST_EN_UART3_APB_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UART4_APB` reader - Reserved"]
pub type RST_EN_UART4_APB_R = crate::BitReader;
#[doc = "Field `RST_EN_UART4_APB` writer - Reserved"]
pub type RST_EN_UART4_APB_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_UHCI` reader - Reserved"]
pub type RST_EN_UHCI_R = crate::BitReader;
#[doc = "Field `RST_EN_UHCI` writer - Reserved"]
pub type RST_EN_UHCI_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_I3CMST` reader - Reserved"]
pub type RST_EN_I3CMST_R = crate::BitReader;
#[doc = "Field `RST_EN_I3CMST` writer - Reserved"]
pub type RST_EN_I3CMST_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_I3CSLV` reader - Reserved"]
pub type RST_EN_I3CSLV_R = crate::BitReader;
#[doc = "Field `RST_EN_I3CSLV` writer - Reserved"]
pub type RST_EN_I3CSLV_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_I2C1` reader - Reserved"]
pub type RST_EN_I2C1_R = crate::BitReader;
#[doc = "Field `RST_EN_I2C1` writer - Reserved"]
pub type RST_EN_I2C1_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_I2C0` reader - Reserved"]
pub type RST_EN_I2C0_R = crate::BitReader;
#[doc = "Field `RST_EN_I2C0` writer - Reserved"]
pub type RST_EN_I2C0_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_RMT` reader - Reserved"]
pub type RST_EN_RMT_R = crate::BitReader;
#[doc = "Field `RST_EN_RMT` writer - Reserved"]
pub type RST_EN_RMT_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_PWM0` reader - Reserved"]
pub type RST_EN_PWM0_R = crate::BitReader;
#[doc = "Field `RST_EN_PWM0` writer - Reserved"]
pub type RST_EN_PWM0_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_PWM1` reader - Reserved"]
pub type RST_EN_PWM1_R = crate::BitReader;
#[doc = "Field `RST_EN_PWM1` writer - Reserved"]
pub type RST_EN_PWM1_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_CAN0` reader - Reserved"]
pub type RST_EN_CAN0_R = crate::BitReader;
#[doc = "Field `RST_EN_CAN0` writer - Reserved"]
pub type RST_EN_CAN0_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_CAN1` reader - Reserved"]
pub type RST_EN_CAN1_R = crate::BitReader;
#[doc = "Field `RST_EN_CAN1` writer - Reserved"]
pub type RST_EN_CAN1_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_CAN2` reader - Reserved"]
pub type RST_EN_CAN2_R = crate::BitReader;
#[doc = "Field `RST_EN_CAN2` writer - Reserved"]
pub type RST_EN_CAN2_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_LEDC` reader - Reserved"]
pub type RST_EN_LEDC_R = crate::BitReader;
#[doc = "Field `RST_EN_LEDC` writer - Reserved"]
pub type RST_EN_LEDC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_PCNT` reader - Reserved"]
pub type RST_EN_PCNT_R = crate::BitReader;
#[doc = "Field `RST_EN_PCNT` writer - Reserved"]
pub type RST_EN_PCNT_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `RST_EN_ETM` reader - Reserved"]
pub type RST_EN_ETM_R = crate::BitReader;
#[doc = "Field `RST_EN_ETM` writer - Reserved"]
pub type RST_EN_ETM_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[doc = "Bit 0 - Reserved"]
#[inline(always)]
pub fn rst_en_ppa(&self) -> RST_EN_PPA_R {
RST_EN_PPA_R::new((self.bits & 1) != 0)
}
#[doc = "Bit 1 - Reserved"]
#[inline(always)]
pub fn rst_en_ahb_pdma(&self) -> RST_EN_AHB_PDMA_R {
RST_EN_AHB_PDMA_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 2 - Reserved"]
#[inline(always)]
pub fn rst_en_axi_pdma(&self) -> RST_EN_AXI_PDMA_R {
RST_EN_AXI_PDMA_R::new(((self.bits >> 2) & 1) != 0)
}
#[doc = "Bit 3 - Reserved"]
#[inline(always)]
pub fn rst_en_iomux(&self) -> RST_EN_IOMUX_R {
RST_EN_IOMUX_R::new(((self.bits >> 3) & 1) != 0)
}
#[doc = "Bit 4 - Reserved"]
#[inline(always)]
pub fn rst_en_padbist(&self) -> RST_EN_PADBIST_R {
RST_EN_PADBIST_R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 5 - Reserved"]
#[inline(always)]
pub fn rst_en_stimer(&self) -> RST_EN_STIMER_R {
RST_EN_STIMER_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 6 - Reserved"]
#[inline(always)]
pub fn rst_en_timergrp0(&self) -> RST_EN_TIMERGRP0_R {
RST_EN_TIMERGRP0_R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 7 - Reserved"]
#[inline(always)]
pub fn rst_en_timergrp1(&self) -> RST_EN_TIMERGRP1_R {
RST_EN_TIMERGRP1_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 8 - Reserved"]
#[inline(always)]
pub fn rst_en_uart0_core(&self) -> RST_EN_UART0_CORE_R {
RST_EN_UART0_CORE_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 9 - Reserved"]
#[inline(always)]
pub fn rst_en_uart1_core(&self) -> RST_EN_UART1_CORE_R {
RST_EN_UART1_CORE_R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 10 - Reserved"]
#[inline(always)]
pub fn rst_en_uart2_core(&self) -> RST_EN_UART2_CORE_R {
RST_EN_UART2_CORE_R::new(((self.bits >> 10) & 1) != 0)
}
#[doc = "Bit 11 - Reserved"]
#[inline(always)]
pub fn rst_en_uart3_core(&self) -> RST_EN_UART3_CORE_R {
RST_EN_UART3_CORE_R::new(((self.bits >> 11) & 1) != 0)
}
#[doc = "Bit 12 - Reserved"]
#[inline(always)]
pub fn rst_en_uart4_core(&self) -> RST_EN_UART4_CORE_R {
RST_EN_UART4_CORE_R::new(((self.bits >> 12) & 1) != 0)
}
#[doc = "Bit 13 - Reserved"]
#[inline(always)]
pub fn rst_en_uart0_apb(&self) -> RST_EN_UART0_APB_R {
RST_EN_UART0_APB_R::new(((self.bits >> 13) & 1) != 0)
}
#[doc = "Bit 14 - Reserved"]
#[inline(always)]
pub fn rst_en_uart1_apb(&self) -> RST_EN_UART1_APB_R {
RST_EN_UART1_APB_R::new(((self.bits >> 14) & 1) != 0)
}
#[doc = "Bit 15 - Reserved"]
#[inline(always)]
pub fn rst_en_uart2_apb(&self) -> RST_EN_UART2_APB_R {
RST_EN_UART2_APB_R::new(((self.bits >> 15) & 1) != 0)
}
#[doc = "Bit 16 - Reserved"]
#[inline(always)]
pub fn rst_en_uart3_apb(&self) -> RST_EN_UART3_APB_R {
RST_EN_UART3_APB_R::new(((self.bits >> 16) & 1) != 0)
}
#[doc = "Bit 17 - Reserved"]
#[inline(always)]
pub fn rst_en_uart4_apb(&self) -> RST_EN_UART4_APB_R {
RST_EN_UART4_APB_R::new(((self.bits >> 17) & 1) != 0)
}
#[doc = "Bit 18 - Reserved"]
#[inline(always)]
pub fn rst_en_uhci(&self) -> RST_EN_UHCI_R {
RST_EN_UHCI_R::new(((self.bits >> 18) & 1) != 0)
}
#[doc = "Bit 19 - Reserved"]
#[inline(always)]
pub fn rst_en_i3cmst(&self) -> RST_EN_I3CMST_R {
RST_EN_I3CMST_R::new(((self.bits >> 19) & 1) != 0)
}
#[doc = "Bit 20 - Reserved"]
#[inline(always)]
pub fn rst_en_i3cslv(&self) -> RST_EN_I3CSLV_R {
RST_EN_I3CSLV_R::new(((self.bits >> 20) & 1) != 0)
}
#[doc = "Bit 21 - Reserved"]
#[inline(always)]
pub fn rst_en_i2c1(&self) -> RST_EN_I2C1_R {
RST_EN_I2C1_R::new(((self.bits >> 21) & 1) != 0)
}
#[doc = "Bit 22 - Reserved"]
#[inline(always)]
pub fn rst_en_i2c0(&self) -> RST_EN_I2C0_R {
RST_EN_I2C0_R::new(((self.bits >> 22) & 1) != 0)
}
#[doc = "Bit 23 - Reserved"]
#[inline(always)]
pub fn rst_en_rmt(&self) -> RST_EN_RMT_R {
RST_EN_RMT_R::new(((self.bits >> 23) & 1) != 0)
}
#[doc = "Bit 24 - Reserved"]
#[inline(always)]
pub fn rst_en_pwm0(&self) -> RST_EN_PWM0_R {
RST_EN_PWM0_R::new(((self.bits >> 24) & 1) != 0)
}
#[doc = "Bit 25 - Reserved"]
#[inline(always)]
pub fn rst_en_pwm1(&self) -> RST_EN_PWM1_R {
RST_EN_PWM1_R::new(((self.bits >> 25) & 1) != 0)
}
#[doc = "Bit 26 - Reserved"]
#[inline(always)]
pub fn rst_en_can0(&self) -> RST_EN_CAN0_R {
RST_EN_CAN0_R::new(((self.bits >> 26) & 1) != 0)
}
#[doc = "Bit 27 - Reserved"]
#[inline(always)]
pub fn rst_en_can1(&self) -> RST_EN_CAN1_R {
RST_EN_CAN1_R::new(((self.bits >> 27) & 1) != 0)
}
#[doc = "Bit 28 - Reserved"]
#[inline(always)]
pub fn rst_en_can2(&self) -> RST_EN_CAN2_R {
RST_EN_CAN2_R::new(((self.bits >> 28) & 1) != 0)
}
#[doc = "Bit 29 - Reserved"]
#[inline(always)]
pub fn rst_en_ledc(&self) -> RST_EN_LEDC_R {
RST_EN_LEDC_R::new(((self.bits >> 29) & 1) != 0)
}
#[doc = "Bit 30 - Reserved"]
#[inline(always)]
pub fn rst_en_pcnt(&self) -> RST_EN_PCNT_R {
RST_EN_PCNT_R::new(((self.bits >> 30) & 1) != 0)
}
#[doc = "Bit 31 - Reserved"]
#[inline(always)]
pub fn rst_en_etm(&self) -> RST_EN_ETM_R {
RST_EN_ETM_R::new(((self.bits >> 31) & 1) != 0)
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("HP_RST_EN1")
.field("rst_en_ppa", &format_args!("{}", self.rst_en_ppa().bit()))
.field(
"rst_en_ahb_pdma",
&format_args!("{}", self.rst_en_ahb_pdma().bit()),
)
.field(
"rst_en_axi_pdma",
&format_args!("{}", self.rst_en_axi_pdma().bit()),
)
.field(
"rst_en_iomux",
&format_args!("{}", self.rst_en_iomux().bit()),
)
.field(
"rst_en_padbist",
&format_args!("{}", self.rst_en_padbist().bit()),
)
.field(
"rst_en_stimer",
&format_args!("{}", self.rst_en_stimer().bit()),
)
.field(
"rst_en_timergrp0",
&format_args!("{}", self.rst_en_timergrp0().bit()),
)
.field(
"rst_en_timergrp1",
&format_args!("{}", self.rst_en_timergrp1().bit()),
)
.field(
"rst_en_uart0_core",
&format_args!("{}", self.rst_en_uart0_core().bit()),
)
.field(
"rst_en_uart1_core",
&format_args!("{}", self.rst_en_uart1_core().bit()),
)
.field(
"rst_en_uart2_core",
&format_args!("{}", self.rst_en_uart2_core().bit()),
)
.field(
"rst_en_uart3_core",
&format_args!("{}", self.rst_en_uart3_core().bit()),
)
.field(
"rst_en_uart4_core",
&format_args!("{}", self.rst_en_uart4_core().bit()),
)
.field(
"rst_en_uart0_apb",
&format_args!("{}", self.rst_en_uart0_apb().bit()),
)
.field(
"rst_en_uart1_apb",
&format_args!("{}", self.rst_en_uart1_apb().bit()),
)
.field(
"rst_en_uart2_apb",
&format_args!("{}", self.rst_en_uart2_apb().bit()),
)
.field(
"rst_en_uart3_apb",
&format_args!("{}", self.rst_en_uart3_apb().bit()),
)
.field(
"rst_en_uart4_apb",
&format_args!("{}", self.rst_en_uart4_apb().bit()),
)
.field("rst_en_uhci", &format_args!("{}", self.rst_en_uhci().bit()))
.field(
"rst_en_i3cmst",
&format_args!("{}", self.rst_en_i3cmst().bit()),
)
.field(
"rst_en_i3cslv",
&format_args!("{}", self.rst_en_i3cslv().bit()),
)
.field("rst_en_i2c1", &format_args!("{}", self.rst_en_i2c1().bit()))
.field("rst_en_i2c0", &format_args!("{}", self.rst_en_i2c0().bit()))
.field("rst_en_rmt", &format_args!("{}", self.rst_en_rmt().bit()))
.field("rst_en_pwm0", &format_args!("{}", self.rst_en_pwm0().bit()))
.field("rst_en_pwm1", &format_args!("{}", self.rst_en_pwm1().bit()))
.field("rst_en_can0", &format_args!("{}", self.rst_en_can0().bit()))
.field("rst_en_can1", &format_args!("{}", self.rst_en_can1().bit()))
.field("rst_en_can2", &format_args!("{}", self.rst_en_can2().bit()))
.field("rst_en_ledc", &format_args!("{}", self.rst_en_ledc().bit()))
.field("rst_en_pcnt", &format_args!("{}", self.rst_en_pcnt().bit()))
.field("rst_en_etm", &format_args!("{}", self.rst_en_etm().bit()))
.finish()
}
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<HP_RST_EN1_SPEC> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
core::fmt::Debug::fmt(&self.read(), f)
}
}
impl W {
#[doc = "Bit 0 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_ppa(&mut self) -> RST_EN_PPA_W<HP_RST_EN1_SPEC> {
RST_EN_PPA_W::new(self, 0)
}
#[doc = "Bit 1 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_ahb_pdma(&mut self) -> RST_EN_AHB_PDMA_W<HP_RST_EN1_SPEC> {
RST_EN_AHB_PDMA_W::new(self, 1)
}
#[doc = "Bit 2 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_axi_pdma(&mut self) -> RST_EN_AXI_PDMA_W<HP_RST_EN1_SPEC> {
RST_EN_AXI_PDMA_W::new(self, 2)
}
#[doc = "Bit 3 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_iomux(&mut self) -> RST_EN_IOMUX_W<HP_RST_EN1_SPEC> {
RST_EN_IOMUX_W::new(self, 3)
}
#[doc = "Bit 4 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_padbist(&mut self) -> RST_EN_PADBIST_W<HP_RST_EN1_SPEC> {
RST_EN_PADBIST_W::new(self, 4)
}
#[doc = "Bit 5 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_stimer(&mut self) -> RST_EN_STIMER_W<HP_RST_EN1_SPEC> {
RST_EN_STIMER_W::new(self, 5)
}
#[doc = "Bit 6 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_timergrp0(&mut self) -> RST_EN_TIMERGRP0_W<HP_RST_EN1_SPEC> {
RST_EN_TIMERGRP0_W::new(self, 6)
}
#[doc = "Bit 7 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_timergrp1(&mut self) -> RST_EN_TIMERGRP1_W<HP_RST_EN1_SPEC> {
RST_EN_TIMERGRP1_W::new(self, 7)
}
#[doc = "Bit 8 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart0_core(&mut self) -> RST_EN_UART0_CORE_W<HP_RST_EN1_SPEC> {
RST_EN_UART0_CORE_W::new(self, 8)
}
#[doc = "Bit 9 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart1_core(&mut self) -> RST_EN_UART1_CORE_W<HP_RST_EN1_SPEC> {
RST_EN_UART1_CORE_W::new(self, 9)
}
#[doc = "Bit 10 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart2_core(&mut self) -> RST_EN_UART2_CORE_W<HP_RST_EN1_SPEC> {
RST_EN_UART2_CORE_W::new(self, 10)
}
#[doc = "Bit 11 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart3_core(&mut self) -> RST_EN_UART3_CORE_W<HP_RST_EN1_SPEC> {
RST_EN_UART3_CORE_W::new(self, 11)
}
#[doc = "Bit 12 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart4_core(&mut self) -> RST_EN_UART4_CORE_W<HP_RST_EN1_SPEC> {
RST_EN_UART4_CORE_W::new(self, 12)
}
#[doc = "Bit 13 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart0_apb(&mut self) -> RST_EN_UART0_APB_W<HP_RST_EN1_SPEC> {
RST_EN_UART0_APB_W::new(self, 13)
}
#[doc = "Bit 14 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart1_apb(&mut self) -> RST_EN_UART1_APB_W<HP_RST_EN1_SPEC> {
RST_EN_UART1_APB_W::new(self, 14)
}
#[doc = "Bit 15 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart2_apb(&mut self) -> RST_EN_UART2_APB_W<HP_RST_EN1_SPEC> {
RST_EN_UART2_APB_W::new(self, 15)
}
#[doc = "Bit 16 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart3_apb(&mut self) -> RST_EN_UART3_APB_W<HP_RST_EN1_SPEC> {
RST_EN_UART3_APB_W::new(self, 16)
}
#[doc = "Bit 17 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uart4_apb(&mut self) -> RST_EN_UART4_APB_W<HP_RST_EN1_SPEC> {
RST_EN_UART4_APB_W::new(self, 17)
}
#[doc = "Bit 18 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_uhci(&mut self) -> RST_EN_UHCI_W<HP_RST_EN1_SPEC> {
RST_EN_UHCI_W::new(self, 18)
}
#[doc = "Bit 19 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_i3cmst(&mut self) -> RST_EN_I3CMST_W<HP_RST_EN1_SPEC> {
RST_EN_I3CMST_W::new(self, 19)
}
#[doc = "Bit 20 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_i3cslv(&mut self) -> RST_EN_I3CSLV_W<HP_RST_EN1_SPEC> {
RST_EN_I3CSLV_W::new(self, 20)
}
#[doc = "Bit 21 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_i2c1(&mut self) -> RST_EN_I2C1_W<HP_RST_EN1_SPEC> {
RST_EN_I2C1_W::new(self, 21)
}
#[doc = "Bit 22 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_i2c0(&mut self) -> RST_EN_I2C0_W<HP_RST_EN1_SPEC> {
RST_EN_I2C0_W::new(self, 22)
}
#[doc = "Bit 23 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_rmt(&mut self) -> RST_EN_RMT_W<HP_RST_EN1_SPEC> {
RST_EN_RMT_W::new(self, 23)
}
#[doc = "Bit 24 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_pwm0(&mut self) -> RST_EN_PWM0_W<HP_RST_EN1_SPEC> {
RST_EN_PWM0_W::new(self, 24)
}
#[doc = "Bit 25 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_pwm1(&mut self) -> RST_EN_PWM1_W<HP_RST_EN1_SPEC> {
RST_EN_PWM1_W::new(self, 25)
}
#[doc = "Bit 26 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_can0(&mut self) -> RST_EN_CAN0_W<HP_RST_EN1_SPEC> {
RST_EN_CAN0_W::new(self, 26)
}
#[doc = "Bit 27 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_can1(&mut self) -> RST_EN_CAN1_W<HP_RST_EN1_SPEC> {
RST_EN_CAN1_W::new(self, 27)
}
#[doc = "Bit 28 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_can2(&mut self) -> RST_EN_CAN2_W<HP_RST_EN1_SPEC> {
RST_EN_CAN2_W::new(self, 28)
}
#[doc = "Bit 29 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_ledc(&mut self) -> RST_EN_LEDC_W<HP_RST_EN1_SPEC> {
RST_EN_LEDC_W::new(self, 29)
}
#[doc = "Bit 30 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_pcnt(&mut self) -> RST_EN_PCNT_W<HP_RST_EN1_SPEC> {
RST_EN_PCNT_W::new(self, 30)
}
#[doc = "Bit 31 - Reserved"]
#[inline(always)]
#[must_use]
pub fn rst_en_etm(&mut self) -> RST_EN_ETM_W<HP_RST_EN1_SPEC> {
RST_EN_ETM_W::new(self, 31)
}
}
#[doc = "Reserved\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`hp_rst_en1::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`hp_rst_en1::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct HP_RST_EN1_SPEC;
impl crate::RegisterSpec for HP_RST_EN1_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [`hp_rst_en1::R`](R) reader structure"]
impl crate::Readable for HP_RST_EN1_SPEC {}
#[doc = "`write(|w| ..)` method takes [`hp_rst_en1::W`](W) writer structure"]
impl crate::Writable for HP_RST_EN1_SPEC {
type Safety = crate::Unsafe;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets HP_RST_EN1 to value 0"]
impl crate::Resettable for HP_RST_EN1_SPEC {
const RESET_VALUE: u32 = 0;
}