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
b18634ed
Commit
b18634ed
authored
9 years ago
by
Thibaut VIARD
Committed by
Cristian Maglie
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adding TC5 definitions
parent
e1b678e0
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
+12
-0
12 additions, 0 deletions
cores/arduino/WVariant.h
with
12 additions
and
0 deletions
cores/arduino/WVariant.h
+
12
−
0
View file @
b18634ed
...
...
@@ -64,6 +64,12 @@ typedef enum _ETCChannel
TCC2_CH1
=
(
2
<<
8
)
|
(
1
),
TC3_CH0
=
(
3
<<
8
)
|
(
0
),
TC3_CH1
=
(
3
<<
8
)
|
(
1
),
TC5_CH0
=
(
5
<<
8
)
|
(
0
),
TC5_CH1
=
(
5
<<
8
)
|
(
1
),
#if defined __SAMD21J18A__
TC7_CH0
=
(
7
<<
8
)
|
(
0
),
TC7_CH1
=
(
7
<<
8
)
|
(
1
)
#endif // __SAMD21J18A__
}
ETCChannel
;
extern
const
void
*
g_apTCInstances
[
TCC_INST_NUM
+
TC_INST_NUM
]
;
...
...
@@ -90,6 +96,12 @@ typedef enum _EPWMChannel
PWM2_CH1
=
TCC2_CH1
,
PWM3_CH0
=
TC3_CH0
,
PWM3_CH1
=
TC3_CH1
,
PWM5_CH0
=
TC5_CH0
,
PWM5_CH1
=
TC5_CH1
,
#if defined __SAMD21J18A__
PWM7_CH0
=
TC7_CH0
,
PWM7_CH1
=
TC7_CH1
#endif // __SAMD21J18A__
}
EPWMChannel
;
typedef
enum
_EPortType
...
...
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