[][src]Struct esp32::spi::cmd::W

pub struct W(_);

Register CMD writer

Implementations

impl W[src]

pub fn flash_read(&mut self) -> FLASH_READ_W<'_>[src]

Bit 31

pub fn flash_wren(&mut self) -> FLASH_WREN_W<'_>[src]

Bit 30

pub fn flash_wrdi(&mut self) -> FLASH_WRDI_W<'_>[src]

Bit 29

pub fn flash_rdid(&mut self) -> FLASH_RDID_W<'_>[src]

Bit 28

pub fn flash_rdsr(&mut self) -> FLASH_RDSR_W<'_>[src]

Bit 27

pub fn flash_wrsr(&mut self) -> FLASH_WRSR_W<'_>[src]

Bit 26

pub fn flash_pp(&mut self) -> FLASH_PP_W<'_>[src]

Bit 25

pub fn flash_se(&mut self) -> FLASH_SE_W<'_>[src]

Bit 24

pub fn flash_be(&mut self) -> FLASH_BE_W<'_>[src]

Bit 23

pub fn flash_ce(&mut self) -> FLASH_CE_W<'_>[src]

Bit 22

pub fn flash_dp(&mut self) -> FLASH_DP_W<'_>[src]

Bit 21

pub fn flash_res(&mut self) -> FLASH_RES_W<'_>[src]

Bit 20

pub fn flash_hpm(&mut self) -> FLASH_HPM_W<'_>[src]

Bit 19

pub fn usr(&mut self) -> USR_W<'_>[src]

Bit 18

pub fn flash_pes(&mut self) -> FLASH_PES_W<'_>[src]

Bit 17

pub fn flash_per(&mut self) -> FLASH_PER_W<'_>[src]

Bit 16

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<CMD_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux)[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<CMD_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<CMD_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.