|
51 | 51 |
|
52 | 52 |
|
53 | 53 | constexpr io_timers_t io_timers[MAX_IO_TIMERS] = {
|
54 |
| - initIOTimer(Timer::EMIOS0) |
| 54 | + initIOTimer(Timer::EMIOS0_Channel0, Timer::Channel0), |
| 55 | + initIOTimer(Timer::EMIOS0_Channel1, Timer::Channel1), |
| 56 | + initIOTimer(Timer::EMIOS0_Channel2, Timer::Channel2), |
| 57 | + initIOTimer(Timer::EMIOS0_Channel3, Timer::Channel3), |
| 58 | + initIOTimer(Timer::EMIOS0_Channel4, Timer::Channel4), |
| 59 | + initIOTimer(Timer::EMIOS0_Channel5, Timer::Channel5), |
| 60 | + initIOTimer(Timer::EMIOS0_Channel6, Timer::Channel6), |
| 61 | + initIOTimer(Timer::EMIOS0_Channel7, Timer::Channel7), |
55 | 62 | };
|
56 | 63 |
|
57 | 64 | constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = {
|
58 |
| - initIOTimerChannel(io_timers, {Timer::EMIOS0, Timer::Channel0}, PIN_EMIOS0_CH0_1), |
59 |
| - initIOTimerChannel(io_timers, {Timer::EMIOS0, Timer::Channel1}, PIN_EMIOS0_CH1_1), |
60 |
| - initIOTimerChannel(io_timers, {Timer::EMIOS0, Timer::Channel2}, PIN_EMIOS0_CH2_1), |
61 |
| - initIOTimerChannel(io_timers, {Timer::EMIOS0, Timer::Channel3}, PIN_EMIOS0_CH3_2), |
62 |
| - initIOTimerChannel(io_timers, {Timer::EMIOS0, Timer::Channel4}, PIN_EMIOS0_CH4_2), |
63 |
| - initIOTimerChannel(io_timers, {Timer::EMIOS0, Timer::Channel5}, PIN_EMIOS0_CH5_2), |
64 |
| - initIOTimerChannel(io_timers, {Timer::EMIOS0, Timer::Channel6}, PIN_EMIOS0_CH6_1), |
65 |
| - initIOTimerChannel(io_timers, {Timer::EMIOS0, Timer::Channel7}, PIN_EMIOS0_CH7_2), |
| 65 | + initIOTimerChannel(io_timers, {Timer::EMIOS0_Channel0, Timer::Channel0}, PIN_EMIOS0_CH0_1), |
| 66 | + initIOTimerChannel(io_timers, {Timer::EMIOS0_Channel1, Timer::Channel1}, PIN_EMIOS0_CH1_1), |
| 67 | + initIOTimerChannel(io_timers, {Timer::EMIOS0_Channel2, Timer::Channel2}, PIN_EMIOS0_CH2_1), |
| 68 | + initIOTimerChannel(io_timers, {Timer::EMIOS0_Channel3, Timer::Channel3}, PIN_EMIOS0_CH3_2), |
| 69 | + initIOTimerChannel(io_timers, {Timer::EMIOS0_Channel4, Timer::Channel4}, PIN_EMIOS0_CH4_2), |
| 70 | + initIOTimerChannel(io_timers, {Timer::EMIOS0_Channel5, Timer::Channel5}, PIN_EMIOS0_CH5_2), |
| 71 | + initIOTimerChannel(io_timers, {Timer::EMIOS0_Channel6, Timer::Channel6}, PIN_EMIOS0_CH6_1), |
| 72 | + initIOTimerChannel(io_timers, {Timer::EMIOS0_Channel7, Timer::Channel7}, PIN_EMIOS0_CH7_2), |
66 | 73 | };
|
67 | 74 |
|
68 | 75 | constexpr io_timers_channel_mapping_t io_timers_channel_mapping =
|
|
0 commit comments