Steval_3DP001V1 timers, analog inputs, etc. (#16565)

This commit is contained in:
Bob Kuhn
2020-01-14 22:35:25 -06:00
committed by Scott Lahteine
parent ef513ef7fb
commit 53dfeed6c0
3 changed files with 191 additions and 195 deletions

View File

@ -61,12 +61,14 @@
#define HAL_TIMER_RATE (F_CPU/2) // frequency of timer peripherals
// STM32F401 only has timers 1-5 & 9-11 with timers 4 & 5 usually assigned to TIMER_SERVO and TIMER_TONE
#ifndef STEP_TIMER
#define STEP_TIMER 9 // STM32F401 has no TIM6, TIM7, or TIM8
#define STEP_TIMER 9
#endif
#ifndef TEMP_TIMER
#define TEMP_TIMER 14 // TIM7 is consumed by Software Serial if used.
#define TEMP_TIMER 10
#endif
#endif