László Monda
1aae668ed5
Provide the correct numOfChnls value to FTM_SetupPwm(). Fixes #35 . Fixes UltimateHackingKeyboard/bootloader#4 .
2017-02-28 02:06:56 +01:00
László Monda
6e415696d7
Move merge_sensor.[ch], reset_button.[ch] and test_led.[ch] into the newly created peripherials directory.
2017-02-26 02:50:21 +01:00
László Monda
6cf27799a6
Implement the I2C watchdog using PIT.
2017-02-25 17:48:37 +01:00
László Monda
4904572417
Move temp and counter out of InitI2C() so that the compiler shouldn't optimize the loop.
2017-02-18 21:41:11 +01:00
László Monda
d6d0e5d97f
Modify init_peripherials.c given that I2C_Watchdog is defined in the KSDK now.
2017-02-18 21:25:54 +01:00
László Monda
05e8b046f5
Clean up coding style.
2017-02-18 19:08:49 +01:00
Santiago
226bc31385
Fix the I2C dead-lock of the Master
...
When some slave is unplugged suddenly this can lead to unresponsiveness of the driver. restart_I2C will continuously check this and assure that the driver will be reconfigured in case of a dead-lock.
2017-02-18 13:11:45 +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
László Monda
d8761a95ba
Use >= relations instead of == for comparing UHK_PCB_MAJOR_VERSION.
2017-01-21 02:20:47 +01:00
László Monda
cad09faf02
Resolve USB reenumeration issue. Don't ask me why it's working now. We should find an explanation eventually.
2017-01-20 02:04:08 +01:00
László Monda
0ded50b43a
PWM the R_EXT of the LED driver using FTM.
2017-01-13 14:58:31 +01:00
László Monda
ce1b16f406
Remove LED jumper and ISO jumper related code, as the presence of LEDs and ISO/ANSI configuration will be stored in the hardware configuration area of the EEPROM instead of using solder jumpers.
2017-01-05 19:25:39 +01:00
László Monda
5a32ff743c
Expose the LED jumper via USB.
2016-10-18 18:58:00 +02:00
László Monda
2d31c3e5ce
Add API for the merge sensor.
2016-10-17 23:06:09 +02:00
László Monda
4742a0c661
Initialize clocks where they're actually needed.
2016-10-05 23:12:22 +02: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
5f1c85147b
Remove pin_mux.[ch], add init_peripherials.[ch], add reset_button.h which I forgot to add previously.
2016-10-04 17:02:46 +02:00