Struct esp32c2_hal::pac::xts_aes::state::R
pub struct R(_);
Expand description
Register STATE
reader
Implementations§
§impl R
impl R
pub fn state(&self) -> FieldReaderRaw<u8, u8>
pub fn state(&self) -> FieldReaderRaw<u8, u8>
Bits 0:1 - Those bits shows XTS-AES status. 0=IDLE, 1=WORK, 2=RELEASE, 3=USE. IDLE means that XTS-AES is idle. WORK means that XTS-AES is busy with calculation. RELEASE means the encrypted result is generated but not visible to mspi. USE means that the encrypted result is visible to mspi.
Methods from Deref<Target = R<STATE_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<STATE_SPEC>> for R
impl From<R<STATE_SPEC>> for R
§fn from(reader: R<STATE_SPEC>) -> R
fn from(reader: R<STATE_SPEC>) -> R
Converts to this type from the input type.