László Monda
|
858586ef2a
|
Fix data size by using I2C_MESSAGE_MAX_TOTAL_LENGTH instead of I2C_MESSAGE_MAX_PAYLOAD_LENGTH.
|
2017-10-01 22:12:00 +02:00 |
|
László Monda
|
ecc2d2db9a
|
Use I2C_MESSAGE_HEADER_LENGTH instead of magic number.
|
2017-10-01 22:08:38 +02:00 |
|
László Monda
|
b443b56357
|
Rename I2C_MESSAGE_MAX_LENGTH to I2C_MESSAGE_MAX_PAYLOAD_LENGTH.
|
2017-10-01 21:52:41 +02:00 |
|
László Monda
|
b88c6e4291
|
Add i2c_message_t and use it all across the codebase. This will allow handling variable-length I2C messages and validation with minimal effort. The test LED and brightness PWM update features got temporarily broken and will fix them soon.
|
2017-09-25 03:03:14 +02:00 |
|
László Monda
|
946d3c1451
|
Add kStatus_Uhk_IdleSlave and ditch the global IsI2cTransferScheduled. Make slave drivers return status_t and utilize that value instead.
|
2017-08-19 17:47:56 +02:00 |
|
László Monda
|
67a402ed59
|
Make I2cAsync{Read,Write} return with status_t
|
2017-08-19 13:03:41 +02:00 |
|
László Monda
|
35102918b2
|
Only set IsI2cTransferScheduled to true if the previous I2C operation returned with kStatus_Success
|
2017-08-19 12:09:08 +02:00 |
|
László Monda
|
0f51700ea9
|
Keep the slave scheduler going even if a slave driver failed to trigger an I2C callback.
|
2017-06-01 03:03:20 +02:00 |
|
László Monda
|
02fe3b818f
|
Extract I2cAsync{Read,Write}() to i2c.c
|
2017-03-17 01:33:04 +01:00 |
|