Struct esp32c2_hal::pac::sha::dma_block_num::W
pub struct W(_);
Expand description
Register DMA_BLOCK_NUM
writer
Implementations§
§impl W
impl W
pub fn dma_block_num(
&mut self
) -> FieldWriterRaw<'_, u32, DMA_BLOCK_NUM_SPEC, u8, u8, Unsafe, 6, 0>
pub fn dma_block_num(
&mut self
) -> FieldWriterRaw<'_, u32, DMA_BLOCK_NUM_SPEC, u8, u8, Unsafe, 6, 0>
Bits 0:5 - Dma-sha block number.
Methods from Deref<Target = W<DMA_BLOCK_NUM_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.
Trait Implementations§
§impl From<W<DMA_BLOCK_NUM_SPEC>> for W
impl From<W<DMA_BLOCK_NUM_SPEC>> for W
§fn from(writer: W<DMA_BLOCK_NUM_SPEC>) -> W
fn from(writer: W<DMA_BLOCK_NUM_SPEC>) -> W
Converts to this type from the input type.