Treehopper C++ API
I2cTransferError.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Treehopper.h
"
4
5
namespace
Treehopper
{
9
enum class
I2cTransferError
{
13
ArbitrationLostError
,
14
18
NackError
,
19
23
UnknownError
,
24
28
TxunderError
,
29
33
Success
= 255
34
};
35
}
Treehopper::I2cTransferError::ArbitrationLostError
Bus arbitration was lost
Treehopper::I2cTransferError::Success
Successful transaction
Treehopper::I2cTransferError::UnknownError
Unknown error
Treehopper
Definition:
AdcPin.h:3
Treehopper::I2cTransferError::NackError
The slave board failed to Nack back.
Treehopper.h
Treehopper::I2cTransferError::TxunderError
Tx buffer underrun error
Treehopper::I2cTransferError
I2cTransferError
Describes the transfer error, if not Success, that occured
Definition:
I2cTransferError.h:9
C++
API
inc
I2cTransferError.h