|
hsw-nbt 1.2.0
OPTIGA Authenticate NBT Host Library for C
|
This is a header-only C interface for reusable I2C drivers. No actual implementation is provided rather developers can use the header to have the same code running on different platforms by linking to concrete implementations.
The interface is designed to be used in combination with the Infineon hsw-protocol library. To be fully usable as an I2C driver concrete implementations must also provide functions to initialize the ifx_protocol_t structs.
For developers' convenience a mock implementation of the library Infineon::ifx-i2c-mock is provided that can be consumed when using this project as a submodule (e.g. via CPM). This version performs basic parameter validation but besides this is a full NOOP implementation only suitable for unit testing.
It is only meant as a replacement for testing libraries relying on the interface functionality without the dependency to an actual implementation. Therefore it will not be installed when installing this project via cmake.