Struct esp32c2_hal::pac::efuse::cmd::W
pub struct W(_);
Expand description
Register CMD
writer
Implementations§
§impl W
impl W
pub fn read_cmd(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 0>
pub fn read_cmd(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 0>
Bit 0 - Set this bit to send read command.
pub fn pgm_cmd(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 1>
pub fn pgm_cmd(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 1>
Bit 1 - Set this bit to send programming command.
Methods from Deref<Target = W<CMD_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.