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:
2013-05-25 19:24:39 +00:00
parent b9c08d88b1
commit b482b85ffd
6 changed files with 98 additions and 100 deletions

View File

@@ -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)