Sfoglia il codice sorgente

F_BUS 128MHZ for pins_teensy.c

main
Frank Bösing 6 anni fa
parent
commit
f6d7053eb5
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +4
    -1
      teensy3/pins_teensy.c

+ 4
- 1
teensy3/pins_teensy.c Vedi File



#endif #endif


#if F_TIMER == 120000000
#if F_TIMER == 128000000
#define DEFAULT_FTM_MOD (65536 - 1)
#define DEFAULT_FTM_PRESCALE 2
#elif F_TIMER == 120000000
#define DEFAULT_FTM_MOD (61440 - 1) #define DEFAULT_FTM_MOD (61440 - 1)
#define DEFAULT_FTM_PRESCALE 2 #define DEFAULT_FTM_PRESCALE 2
#elif F_TIMER == 108000000 #elif F_TIMER == 108000000

Loading…
Annulla
Salva