Struct esp32_hal::pac::dport::core_rst_en::W
pub struct W(_);
Expand description
Register CORE_RST_EN
writer
Implementations§
§impl W
impl W
pub fn core_rst(
&mut self
) -> FieldWriterRaw<'_, u32, CORE_RST_EN_SPEC, u8, u8, Unsafe, 8, 0>
pub fn core_rst(
&mut self
) -> FieldWriterRaw<'_, u32, CORE_RST_EN_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7
pub fn bb_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 0>
pub fn bb_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 0>
Bit 0
pub fn fe_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 1>
pub fn fe_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 1>
Bit 1
pub fn mac_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 2>
pub fn mac_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 2>
Bit 2
pub fn bt_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 3>
pub fn bt_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 3>
Bit 3
pub fn btmac_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 4>
pub fn btmac_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 4>
Bit 4
pub fn sdio_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 5>
pub fn sdio_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 5>
Bit 5
pub fn sdio_host_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 6>
pub fn sdio_host_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 6>
Bit 6
pub fn emac_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 7>
pub fn emac_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 7>
Bit 7
pub fn macpwr_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 8>
pub fn macpwr_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 8>
Bit 8
pub fn rw_btmac_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 9>
pub fn rw_btmac_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 9>
Bit 9
pub fn rw_btlp_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 10>
pub fn rw_btlp_rst(
&mut self
) -> BitWriterRaw<'_, u32, CORE_RST_EN_SPEC, bool, BitM, 10>
Bit 10
Methods from Deref<Target = W<CORE_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<CORE_RST_EN_SPEC>> for W
impl From<W<CORE_RST_EN_SPEC>> for W
§fn from(writer: W<CORE_RST_EN_SPEC>) -> W
fn from(writer: W<CORE_RST_EN_SPEC>) -> W
Converts to this type from the input type.