Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Arduino Core for SAMD21 CPU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
Arduino Core for SAMD21 CPU
Commits
2a9cbd4c
Commit
2a9cbd4c
authored
9 years ago
by
Cristian Maglie
Browse files
Options
Downloads
Patches
Plain Diff
Added missing timers definition in WVariant.h
parent
1ce4a2f0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cores/arduino/WVariant.h
+18
-2
18 additions, 2 deletions
cores/arduino/WVariant.h
with
18 additions
and
2 deletions
cores/arduino/WVariant.h
+
18
−
2
View file @
2a9cbd4c
...
...
@@ -59,15 +59,23 @@ typedef enum _ETCChannel
TCC0_CH7
=
(
0
<<
8
)
|
(
3
),
// Channel 7 is 3!
TCC1_CH0
=
(
1
<<
8
)
|
(
0
),
TCC1_CH1
=
(
1
<<
8
)
|
(
1
),
TCC1_CH2
=
(
1
<<
8
)
|
(
0
),
// Channel 2 is 0!
TCC1_CH3
=
(
1
<<
8
)
|
(
1
),
// Channel 3 is 1!
TCC2_CH0
=
(
2
<<
8
)
|
(
0
),
TCC2_CH1
=
(
2
<<
8
)
|
(
1
),
TCC2_CH2
=
(
2
<<
8
)
|
(
0
),
// Channel 2 is 0!
TCC2_CH3
=
(
2
<<
8
)
|
(
1
),
// Channel 3 is 1!
TC3_CH0
=
(
3
<<
8
)
|
(
0
),
TC3_CH1
=
(
3
<<
8
)
|
(
1
),
TC4_CH0
=
(
4
<<
8
)
|
(
0
),
TC4_CH1
=
(
4
<<
8
)
|
(
1
),
TC5_CH0
=
(
5
<<
8
)
|
(
0
),
TC5_CH1
=
(
5
<<
8
)
|
(
1
),
#if defined __SAMD21J18A__
TC6_CH0
=
(
6
<<
8
)
|
(
0
),
TC6_CH1
=
(
6
<<
8
)
|
(
1
),
TC7_CH0
=
(
7
<<
8
)
|
(
0
),
TC7_CH1
=
(
7
<<
8
)
|
(
1
)
TC7_CH1
=
(
7
<<
8
)
|
(
1
)
,
#endif // __SAMD21J18A__
}
ETCChannel
;
...
...
@@ -91,15 +99,23 @@ typedef enum _EPWMChannel
PWM0_CH7
=
TCC0_CH7
,
PWM1_CH0
=
TCC1_CH0
,
PWM1_CH1
=
TCC1_CH1
,
PWM1_CH2
=
TCC1_CH2
,
PWM1_CH3
=
TCC1_CH3
,
PWM2_CH0
=
TCC2_CH0
,
PWM2_CH1
=
TCC2_CH1
,
PWM2_CH2
=
TCC2_CH2
,
PWM2_CH3
=
TCC2_CH3
,
PWM3_CH0
=
TC3_CH0
,
PWM3_CH1
=
TC3_CH1
,
PWM4_CH0
=
TC4_CH0
,
PWM4_CH1
=
TC4_CH1
,
PWM5_CH0
=
TC5_CH0
,
PWM5_CH1
=
TC5_CH1
,
#if defined __SAMD21J18A__
PWM6_CH0
=
TC6_CH0
,
PWM6_CH1
=
TC6_CH1
,
PWM7_CH0
=
TC7_CH0
,
PWM7_CH1
=
TC7_CH1
PWM7_CH1
=
TC7_CH1
,
#endif // __SAMD21J18A__
}
EPWMChannel
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment