Type Alias esp32c3::aes::block_mode::W
source · pub type W = W<BLOCK_MODE_SPEC>;
Expand description
Register BLOCK_MODE
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn block_mode(&mut self) -> BLOCK_MODE_W<'_, BLOCK_MODE_SPEC>
pub fn block_mode(&mut self) -> BLOCK_MODE_W<'_, BLOCK_MODE_SPEC>
Bits 0:2 - Those bits decides which block mode will be used. 0x0: ECB, 0x1: CBC, 0x2: OFB, 0x3: CTR, 0x4: CFB-8, 0x5: CFB-128, 0x6: GCM, 0x7: reserved.