mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-10 16:55:58 +00:00
Added error codes
This commit is contained in:
parent
7f5d918c96
commit
240787557d
@ -9,6 +9,21 @@
|
||||
|
||||
namespace sta
|
||||
{
|
||||
/**
|
||||
* @brief Possible errors that can occur during transmission-
|
||||
*
|
||||
*/
|
||||
enum I2CError
|
||||
{
|
||||
SUCCESS,
|
||||
ACK_FAILURE,
|
||||
NACK,
|
||||
DATA_TOO_LONG,
|
||||
TIMEOUT,
|
||||
BUS_ERROR,
|
||||
ARBITRATION_LOSS,
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Interface class for %I2C hardware.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user