Struct esp32s2::aes::block_mode::W
source · pub struct W(_);
Expand description
Register BLOCK_MODE
writer
Implementations§
source§impl W
impl W
sourcepub fn block_mode(&mut self) -> BLOCK_MODE_W<'_, 0>
pub fn block_mode(&mut self) -> BLOCK_MODE_W<'_, 0>
Bits 0:2 - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3’h0(BLOCK_MODE_ECB): ECB # 3’h1(BLOCK_MODE_CBC): CBC # 3’h2(BLOCK_MODE_OFB): OFB # 3’h3(BLOCK_MODE_CTR): CTR # 3’h4(BLOCK_MODE_CFB8): CFB-8 # 3’h5(BLOCK_MODE_CFB128): CFB-128 # 3’h6(BLOCK_MODE_GCM): GCM &