DUE HAL cleanup (#14126)

This commit is contained in:
Giuliano Zaro 2019-05-26 21:51:32 +02:00 committed by Scott Lahteine
parent df7733425c
commit 7b838f31be
2 changed files with 17 additions and 3 deletions

View File

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

View File

@ -87,5 +87,20 @@
#define HANDLER_FOR_TIMER5 TC0_Handler
#endif
//typedef enum { _timer1, _timer2, _timer3, _timer4, _timer5, _Nbr_16timers } timer16_Sequence_t;
typedef enum { _timer3, _timer5, _Nbr_16timers } timer16_Sequence_t;
typedef enum {
#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;