|
|
@@ -481,7 +481,28 @@ extern void usb_init(void); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#if F_TIMER == 60000000 |
|
|
|
#if F_TIMER == 120000000 |
|
|
|
#define DEFAULT_FTM_MOD (61440 - 1) |
|
|
|
#define DEFAULT_FTM_PRESCALE 2 |
|
|
|
#elif F_TIMER == 108000000 |
|
|
|
#define DEFAULT_FTM_MOD (55296 - 1) |
|
|
|
#define DEFAULT_FTM_PRESCALE 2 |
|
|
|
#elif F_TIMER == 96000000 |
|
|
|
#define DEFAULT_FTM_MOD (49152 - 1) |
|
|
|
#define DEFAULT_FTM_PRESCALE 2 |
|
|
|
#elif F_TIMER == 90000000 |
|
|
|
#define DEFAULT_FTM_MOD (46080 - 1) |
|
|
|
#define DEFAULT_FTM_PRESCALE 2 |
|
|
|
#elif F_TIMER == 80000000 |
|
|
|
#define DEFAULT_FTM_MOD (40960 - 1) |
|
|
|
#define DEFAULT_FTM_PRESCALE 2 |
|
|
|
#elif F_TIMER == 72000000 |
|
|
|
#define DEFAULT_FTM_MOD (36864 - 1) |
|
|
|
#define DEFAULT_FTM_PRESCALE 2 |
|
|
|
#elif F_TIMER == 64000000 |
|
|
|
#define DEFAULT_FTM_MOD (65536 - 1) |
|
|
|
#define DEFAULT_FTM_PRESCALE 1 |
|
|
|
#elif F_TIMER == 60000000 |
|
|
|
#define DEFAULT_FTM_MOD (61440 - 1) |
|
|
|
#define DEFAULT_FTM_PRESCALE 1 |
|
|
|
#elif F_TIMER == 56000000 |