Type Alias 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:3 - The serial number of the block to be programmed. Value 0-3 corresponds to block number 0-3, respectively.