Commit Graph

20 Commits

Author SHA1 Message Date
László Monda
055f1945d0 Include slave_scheduler.h from init_peripherals.c instead of i2c_watchdog.c which I forgot to do in the previous commit. 2018-01-13 03:19:24 +01:00
László Monda
fa4a3abf84 Extract ReinitI2cMainBus() 2018-01-13 03:14:42 +01:00
László Monda
96c7ccd758 Remove some dead code from PIT_I2C_WATCHDOG_HANDLER 2018-01-13 03:03:42 +01:00
László Monda
27e64adc33 Extract PIT related macros to the newly created peripherals/pit.h 2017-11-12 04:06:46 +01:00
László Monda
c2efb5e0d0 Rename watchdog related variables to be more intuitively named. 2017-11-09 20:41:19 +01:00
László Monda
b5f1bcc4d6 Split InitI2c() as InitI2cMainBus() and initI2cEepromBus() and invoke InitI2cMainBus() from PIT_I2C_WATCHDOG_HANDLER() 2017-10-03 20:43:26 +02: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
d6254b6903 Extract I2C_WATCHDOG_INTERVAL_USEC. 2017-09-29 01:01:29 +02:00
László Monda
7313d8d87e Fix the grammar of watchdog interrupt related comment and don't include specific timeout as it may change later. 2017-09-29 00:58:52 +02:00
László Monda
7d1cecc2b4 Move macros from i2c_watchdog.c to i2c_watchdog.h 2017-09-29 00:54:57 +02:00
László Monda
508ef870ae Rename I2C_Watchdog*Counter to I2cWatchdog_*Counter. 2017-09-29 00:44:22 +02:00
László Monda
8b180d94b0 No need to zero prevWatchdogCounter because it's zero by default. 2017-09-28 23:23:19 +02:00
László Monda
751810ec4c Explicitly add void to the argument list of zero argument functions. 2017-09-28 03:03:11 +02:00
László Monda
caf630204d Update watchdog function comment and timeout comment. 2017-08-20 16:43:58 +02:00
László Monda
894172bd50 Reduce I2C watchdog interval from 1000 ms to 100 ms. 2017-08-20 16:32:02 +02:00
László Monda
58f36cf6c3 Add I2C_WatchdogOuterCounter, I2C_WatchdogInnerCounter, BridgeCounter and expose them via USB getDebugInfo() 2017-08-19 12:12:49 +02:00
László Monda
f9a9ebb1d9 Rename InitBridgeProtocolScheduler() to InitSlaveScheduler() 2017-05-05 01:13:36 +02:00
László Monda
d2eed48418 Rename bridge_protocol_scheduler.[ch] to slave_scheduler.[ch] 2017-05-05 00:17:27 +02:00
László Monda
0e52eb2267 Use one-line comments. 2017-03-16 13:58:15 +01:00
László Monda
6cf27799a6 Implement the I2C watchdog using PIT. 2017-02-25 17:48:37 +01:00