atecc508a v0.2.0 ATECC508A.Transport.I2C
Implementation for communicating with ATECC508A parts connected over I2C
Link to this section Summary
Functions
Initialize an I2C transport to an ATECC508A
Link to this section Types
Link to this type
instance()
instance()
instance() :: module()
instance() :: module()
Link to this section Functions
Link to this function
init(args)
init(args)
init(keyword()) :: {:ok, ATECC508A.Transport.t()} | {:error, atom()}
init(keyword()) :: {:ok, ATECC508A.Transport.t()} | {:error, atom()}
Initialize an I2C transport to an ATECC508A
If a transport has already been created to the specified ATECC508A, that transport will be returned. All commands to the ATECC508A are serialized so that they don't interfere with each other.