DUE HAL cleanup (#14126)

2.0.x
Giuliano Zaro 6 years ago committed by Scott Lahteine
parent df7733425c
commit 7b838f31be

@ -46,7 +46,6 @@
#define NUM_HARDWARE_TIMERS 9 #define NUM_HARDWARE_TIMERS 9
#define PRESCALER 2
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
// Types // Types
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------

@ -87,5 +87,20 @@
#define HANDLER_FOR_TIMER5 TC0_Handler #define HANDLER_FOR_TIMER5 TC0_Handler
#endif #endif
//typedef enum { _timer1, _timer2, _timer3, _timer4, _timer5, _Nbr_16timers } timer16_Sequence_t; typedef enum {
typedef enum { _timer3, _timer5, _Nbr_16timers } timer16_Sequence_t; #ifdef _useTimer1
_timer1,
#endif
#ifdef _useTimer2
_timer2,
#endif
#ifdef _useTimer3
_timer3,
#endif
#ifdef _useTimer4
_timer4,
#endif
#ifdef _useTimer5
_timer5,
#endif
_Nbr_16timers } timer16_Sequence_t;

Loading…
Cancel
Save