Commit Graph

13 Commits

Author SHA1 Message Date
László Monda
b76b3c0e4f Slow down main bus I2C baud rate to 30kHz when BusPal is on to make firmware transfer more robust. 2018-01-14 20:27:17 +01:00
László Monda
76d319ec19 Remove comment that says that 100 kHz works with a 20 meter long bridge cable. It was true for UART, not so much for I2C. 2018-01-11 23:44:59 +01:00
László Monda
712b87182a Double timer interval that wasn't right for an unknown reason. Adjust mouse kinetic values accordingly. Reprioritize interrupts to make mouse pointer movement as smooth as possible. 2017-11-28 18:52:39 +01:00
László Monda
b87042a44a Resurrect the state machine of frozen IS31FL3731 ICs by toggling SCL and SDA. 2017-09-30 20:34:35 +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
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
László Monda
4830c98d50 Initialize the I2C bus of the EEPROM. Organize related macros neatly. 2016-10-05 21:27:49 +02:00
László Monda
f0b63a6f7b Add reset_button.c and test_led.c. Clean up init_peripherials.c 2016-10-05 02:05:05 +02:00
László Monda
2dd9aa87b0 Name a couple of I2C related variables more intuitively. 2016-09-26 20:33:03 +02:00
László Monda
b280fde8a5 Extract LED driver related functions to led_driver.[ch] 2016-09-26 20:28:12 +02:00