Struct esp32_hal::pac::dport::perip_rst_en::W
pub struct W(_);
Expand description
Register PERIP_RST_EN
writer
Implementations§
§impl W
impl W
pub fn timers_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 0>
pub fn timers_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 0>
Bit 0
pub fn spi01_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 1>
pub fn spi01_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 1>
Bit 1
pub fn uart_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 2>
pub fn uart_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 2>
Bit 2
pub fn wdg_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 3>
pub fn wdg_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 3>
Bit 3
pub fn i2s0_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 4>
pub fn i2s0_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 4>
Bit 4
pub fn uart1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 5>
pub fn uart1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 5>
Bit 5
pub fn spi2_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 6>
pub fn spi2_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 6>
Bit 6
pub fn i2c0_ext0_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 7>
pub fn i2c0_ext0_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 7>
Bit 7
pub fn uhci0_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 8>
pub fn uhci0_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 8>
Bit 8
pub fn rmt_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 9>
pub fn rmt_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 9>
Bit 9
pub fn pcnt_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 10>
pub fn pcnt_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 10>
Bit 10
pub fn ledc_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 11>
pub fn ledc_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 11>
Bit 11
pub fn uhci1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 12>
pub fn uhci1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 12>
Bit 12
pub fn timergroup_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 13>
pub fn timergroup_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 13>
Bit 13
pub fn efuse_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 14>
pub fn efuse_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 14>
Bit 14
pub fn timergroup1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 15>
pub fn timergroup1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 15>
Bit 15
pub fn spi3_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 16>
pub fn spi3_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 16>
Bit 16
pub fn pwm0_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 17>
pub fn pwm0_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 17>
Bit 17
pub fn i2c_ext1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 18>
pub fn i2c_ext1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 18>
Bit 18
pub fn twai_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 19>
pub fn twai_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 19>
Bit 19
pub fn pwm1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 20>
pub fn pwm1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 20>
Bit 20
pub fn i2s1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 21>
pub fn i2s1_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 21>
Bit 21
pub fn spi_dma_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 22>
pub fn spi_dma_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 22>
Bit 22
pub fn uart2_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 23>
pub fn uart2_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 23>
Bit 23
pub fn uart_mem_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 24>
pub fn uart_mem_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 24>
Bit 24
pub fn pwm2_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 25>
pub fn pwm2_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 25>
Bit 25
pub fn pwm3_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 26>
pub fn pwm3_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN_SPEC, bool, BitM, 26>
Bit 26
Methods from Deref<Target = W<PERIP_RST_EN_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<PERIP_RST_EN_SPEC>> for W
impl From<W<PERIP_RST_EN_SPEC>> for W
§fn from(writer: W<PERIP_RST_EN_SPEC>) -> W
fn from(writer: W<PERIP_RST_EN_SPEC>) -> W
Converts to this type from the input type.