Fixed ISerialBus interface and added device and register address fields so that future i2c and SPI devices can be addressed, to. Added i2c HAL. Tested, working.
The update on the interface required FunctionStatus and the logger to be updated, too
This commit is contained in:
@@ -58,6 +58,7 @@ typedef enum
|
||||
//!< instance is already initialized
|
||||
FUNCTION_STATUS_UNDEFINED_VALUE = 4, //!< The function failed because an undefined value was used
|
||||
//!< This most probably happened when checking an enum
|
||||
FUNCTION_STATUS_NOT_IMPLEMENTED = 5, //!< The required functionality is not (yet) implemented
|
||||
// Interfaces/Busses
|
||||
FUNCTION_STATUS_NOT_OPEN = 10, //!< The Interface cannot be used because it has not been opened
|
||||
FUNCTION_STATUS_ALREADY_OPEN = 11, //!< The interface cannot be opened because it is already open
|
||||
|
||||
Reference in New Issue
Block a user