Expand description
High-level typed commands exposed on crate::Atecc.
Each sub-module implements one command of the ATECC608B protocol. The pattern is the same throughout:
- A method on
crate::Ateccthat takes typed parameters. - Internally it calls
crate::AteccChannel::execute_commandwith the right opcode, params, and expected execution time. - It parses the resulting payload into a strongly-typed return value.
Modulesยง
- checkmac
CheckMaccommand.- counter
Countercommand.- gendig
GenDigcommand.- genkey
GenKeycommand.- info ๐
Infocommand.- lock ๐
- /!\ IRREVERSIBLE LOCK OPERATIONS - HANDLE WITH EXTREME CARE.
- nonce
Noncecommand.- privwrite
PrivWritecommand.- random ๐
Randomcommand.- read_
write ReadandWritecommands.- sign
Signcommand.- verify ๐
Verifycommand.