Commit Graph

18 Commits

Author SHA1 Message Date
László Monda
b402a96007 Init UHK modules. 2017-03-19 00:14:14 +01:00
László Monda
36a65624f7 Remove redundant SetLeds() 2017-03-18 21:25:43 +01:00
László Monda
070f9a0168 Extract BridgeSlaveUhkModuleHandler() to bridge_slaves/bridge_slave_uhk_module.[ch] 2017-03-18 02:34:48 +01:00
László Monda
067a3c1400 Add comment. 2017-03-18 02:27:05 +01:00
László Monda
ea7d36aebf Move bridge_slave_led_driver.[ch] to the newly created bridge_slaves directory. 2017-03-18 02:19:38 +01:00
László Monda
450520de24 Rename bridge_slave_led_driver_handler.[ch] to bridge_slave_led_driver.[ch] 2017-03-18 02:17:42 +01:00
László Monda
a89f0b675f Refactor sync LED driver control register initialization to async. 2017-03-18 01:12:44 +01:00
László Monda
ef8f00eaa9 Extract LED driver bridge slave handler into bridge_slave_led_driver_handler.[ch] 2017-03-17 23:04:01 +01:00
László Monda
5e2c0a68bc Respect the return value of bridge protocol handlers and increment currentBridgeSlaveId accordingly. 2017-03-17 02:03:03 +01:00
László Monda
38d3da05a4 Replace "type" with "slaveHandler" callback inside bridge_slave_t. 2017-03-17 01:57:49 +01:00
László Monda
d9ffdb6bb3 Replace i2cAddress with moduleId in bridge_slave_t. 2017-03-17 01:46:06 +01:00
László Monda
02fe3b818f Extract I2cAsync{Read,Write}() to i2c.c 2017-03-17 01:33:04 +01:00
László Monda
8ff25b88fd Don't make the arguments of i2cAsync{Write,Read} volatile. 2017-03-16 15:35:52 +01:00
László Monda
a0648a5768 Extract bridge slave handler functions. 2017-03-16 15:29:31 +01:00
László Monda
63d4067400 Remove I2C status code comments. Let the I2C watchdog fully handle I2C issues for the time being. 2017-03-16 14:48:02 +01:00
László Monda
8206845b75 Clean up bridgeProtocolCallback. 2017-03-16 14:34:25 +01:00
László Monda
c1f8cca455 Enable LEDs on both halves by default. 2017-02-27 14:08:21 +01:00
László Monda
fc0fc4a3f4 Start to implement the fully asynchronous bridge protocol scheduler and use it to transfer key and LED state. 2017-02-03 01:37:25 +01:00