Skip to main content

Module command

Module command 

Source
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:

  1. A method on crate::Atecc that takes typed parameters.
  2. Internally it calls crate::AteccChannel::execute_command with the right opcode, params, and expected execution time.
  3. It parses the resulting payload into a strongly-typed return value.

Modulesยง

checkmac
CheckMac command.
counter
Counter command.
gendig
GenDig command.
genkey
GenKey command.
info ๐Ÿ”’
Info command.
lock ๐Ÿ”’
/!\ IRREVERSIBLE LOCK OPERATIONS - HANDLE WITH EXTREME CARE.
nonce
Nonce command.
privwrite
PrivWrite command.
random ๐Ÿ”’
Random command.
read_write
Read and Write commands.
sign
Sign command.
verify ๐Ÿ”’
Verify command.