Skip to main content

idle

Function idle 

Source
pub(crate) async fn idle<H>(
    hal: &mut H,
    device_addr: u8,
) -> Result<(), AteccError<H::Error>>
where H: AteccHal,
Expand description

Put the chip into idle.

Idle preserves volatile state (TempKey, RNG seed) but resets the watchdog. Useful between two commands that share TempKey, like Nonce followed by Sign.

ยงErrors

AteccError::Hal if the I2C write fails.