These I2S macros are reservations for I2S.h
#define I2S_CMD_RESERVED 32 |
Common I2S_control command code reservation offset. I2S driver implementations should offset command codes with I2S_CMD_RESERVED growing positively
Example implementation specific command codes:
1 #define I2SXYZ_CMD_COMMAND0 I2S_CMD_RESERVED + 0
2 #define I2SXYZ_CMD_COMMAND1 I2S_CMD_RESERVED + 1
#define I2S_STATUS_RESERVED -32 |
Common I2S_control status code reservation offset. I2S driver implementations should offset status codes with I2S_STATUS_RESERVED growing negatively.
Example implementation specific status codes:
1 #define I2SXYZ_STATUS_ERROR0 I2S_STATUS_RESERVED - 0
2 #define I2SXYZ_STATUS_ERROR1 I2S_STATUS_RESERVED - 1
3 #define I2SXYZ_STATUS_ERROR2 I2S_STATUS_RESERVED - 2