summaryrefslogtreecommitdiff
path: root/src/include/device/smbus_def.h
blob: 0b07400b378b919d4de56c8735d66ed2a2083b86 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef DEVICE_SMBUS_DEF_H
#define DEVICE_SMBUS_DEF_H

/* Error results are negative success is >= 0 */
#define SMBUS_ERROR -1
#define SMBUS_WAIT_UNTIL_READY_TIMEOUT -2
#define SMBUS_WAIT_UNTIL_DONE_TIMEOUT  -3
#define SMBUS_WAIT_UNTIL_ACTIVE_TIMEOUT -4

#endif /* DEVICE_SMBUS_DEF_H */