Struct lpc55_pac::hashcrypt::cryptcfg::AESMODE_W [−][src]
pub struct AESMODE_W<'a> { /* fields omitted */ }
Field AESMODE
writer - AES Cipher mode to use if plain AES
Implementations
impl<'a> AESMODE_W<'a>
[src]
impl<'a> AESMODE_W<'a>
[src]pub fn variant(self, variant: AESMODE_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn ecb(self) -> &'a mut W
[src]
ECB - used as is
pub fn cbc(self) -> &'a mut W
[src]
CBC mode (see details on IV/nonce)
pub fn ctr(self) -> &'a mut W
[src]
CTR mode (see details on IV/nonce). See also AESCTRPOS.
pub unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field