Skip to content

Commit

Permalink
Steval_3DP001V1 timers, analog inputs, etc. (#16565)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob-the-Kuhn authored and thinkyhead committed Jan 15, 2020
1 parent ef513ef commit 53dfeed
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 196 deletions.
6 changes: 4 additions & 2 deletions Marlin/src/HAL/HAL_STM32/timers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 53dfeed

Please sign in to comment.