File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,16 @@ typedef enum _ETCChannel
9999 TCC0_CH3 = (0 <<8 )|(3 ),
100100 TCC0_CH4 = (0 <<8 )|(4 ),
101101 TCC0_CH5 = (0 <<8 )|(5 ),
102+ TCC0_CH6 = (0 <<8 )|(6 ),
103+ TCC0_CH7 = (0 <<8 )|(7 ),
102104 TCC1_CH0 = (1 <<8 )|(0 ),
103105 TCC1_CH1 = (1 <<8 )|(1 ),
104106 TCC1_CH2 = (1 <<8 )|(2 ),
105107 TCC1_CH3 = (1 <<8 )|(3 ),
108+ TCC1_CH4 = (1 <<8 )|(4 ),
109+ TCC1_CH5 = (1 <<8 )|(5 ),
110+ TCC1_CH6 = (1 <<8 )|(6 ),
111+ TCC1_CH7 = (1 <<8 )|(7 ),
106112 TCC2_CH0 = (2 <<8 )|(0 ),
107113 TCC2_CH1 = (2 <<8 )|(1 ),
108114 TCC2_CH2 = (2 <<8 )|(2 ),
@@ -122,6 +128,10 @@ typedef enum _ETCChannel
122128 TC4_CH1 = (9 <<8 )|(1 ),
123129 TC5_CH0 = (10 <<8 )|(0 ),
124130 TC5_CH1 = (10 <<8 )|(1 ),
131+ TC6_CH0 = (11 <<8 )|(0 ),
132+ TC6_CH1 = (11 <<8 )|(1 ),
133+ TC7_CH0 = (12 <<8 )|(0 ),
134+ TC7_CH1 = (12 <<8 )|(1 ),
125135} ETCChannel ;
126136
127137#elif defined(__SAMD51P19A__ ) || defined(__SAMD51P20A__ )
@@ -198,6 +208,12 @@ typedef enum _ETCChannel
198208 TC4_CH1 = (4 <<8 )|(1 ),
199209 TC5_CH0 = (5 <<8 )|(0 ),
200210 TC5_CH1 = (5 <<8 )|(1 ),
211+ #if defined (__SAMD21J18A__ )
212+ TC6_CH0 = (6 <<8 )|(0 ),
213+ TC6_CH1 = (6 <<8 )|(1 ),
214+ TC7_CH0 = (7 <<8 )|(0 ),
215+ TC7_CH1 = (7 <<8 )|(1 ),
216+ #endif // __SAMD21J18A__
201217} ETCChannel ;
202218
203219// Definitions for PWM channels
You can’t perform that action at this time.
0 commit comments