Type Alias esp32c3::efuse::cmd::W

source ·
pub type W = W<CMD_SPEC>;
Expand description

Register CMD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn read_cmd(&mut self) -> READ_CMD_W<'_, CMD_SPEC>

Bit 0 - Set this bit to send read command.

source

pub fn pgm_cmd(&mut self) -> PGM_CMD_W<'_, CMD_SPEC>

Bit 1 - Set this bit to send programming command.

source

pub fn blk_num(&mut self) -> BLK_NUM_W<'_, CMD_SPEC>

Bits 2:5 - The serial number of the block to be programmed. Value 0-10 corresponds to block number 0-10, respectively.