Type Alias esp32::aes::mode::W

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

Register MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mode(&mut self) -> MODE_W<'_, MODE_SPEC>

Bits 0:7 - Selects the AES accelerator mode of operation. See Table 22-1 for details.

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