Type Alias esp32s2::sha::dma_block_num::W

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

Register DMA_BLOCK_NUM writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dma_block_num(&mut self) -> DMA_BLOCK_NUM_W<'_, DMA_BLOCK_NUM_SPEC>

Bits 0:5 - Defines the DMA-SHA block number.

source

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

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual