ATECC508A.DataZone.write

You're seeing just the function write, go back to ATECC508A.DataZone module for more information.
Link to this function

write(transport, slot, data)

View Source

Specs

write(ATECC508A.Transport.t(), ATECC508A.Request.slot(), binary()) ::
  :ok | {:error, atom()}

Write a slot in the data zone.

This can use 4 byte writes if the data is not a multiple of 32 bytes. These are only allowed under some conditions. Most notably, 4-byte writes aren't allowed when the data zone is UNLOCKED.