Hello,
Despite having browsed through this forum, I am unsuccessful understanding how to access the Teensy processor internal timer registers, such as FTM1_MOD, FTM1_CH0_PIN, FTM1_SC, FTM1_CNT from an Arduino code.
Also, i need to access the F_TIMER variable invoked by analogWriteFrequency() in pins_teensy.c
What should my Arduino sketch include or start with so that those register names and variable are recognised by the Arduino IDE compiler ?
Thank you !
Despite having browsed through this forum, I am unsuccessful understanding how to access the Teensy processor internal timer registers, such as FTM1_MOD, FTM1_CH0_PIN, FTM1_SC, FTM1_CNT from an Arduino code.
Also, i need to access the F_TIMER variable invoked by analogWriteFrequency() in pins_teensy.c
What should my Arduino sketch include or start with so that those register names and variable are recognised by the Arduino IDE compiler ?
Thank you !