Firmware changes to match rewired control board.
This is a bit more difficult than just reassigning pins as the usage of the timers has changed to the point of using 16 bit timers where 32 bit timers would have been ideal. This makes the use of the prescaler necessary, and we need to cope with a different prescaler value being used on different timers.
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
|
||||
#define I_PRIORITY_I2C0 0
|
||||
#define I_PRIORITY_UART0 1
|
||||
#define I_PRIORITY_TIMER0 2
|
||||
#define I_PRIORITY_TIMER1 3
|
||||
#define I_PRIORITY_TIMER3 2
|
||||
#define I_PRIORITY_TIMER0 3
|
||||
|
||||
#define interrupt_clear() do { VICVectAddr = 0xff; } while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user