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
132b2198
Commit
132b2198
authored
9 years ago
by
Thibaut VIARD
Browse files
Options
Downloads
Patches
Plain Diff
Adding more available ADC channels for SAMD21J18
Signed-off-by:
Thibaut VIARD
<
aethaniel@sam-geek.org
>
parent
54c8242d
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
+7
-3
7 additions, 3 deletions
cores/arduino/WVariant.h
with
7 additions
and
3 deletions
cores/arduino/WVariant.h
+
7
−
3
View file @
132b2198
...
...
@@ -37,6 +37,10 @@ typedef enum _EAnalogChannel
ADC_Channel5
=
5
,
ADC_Channel6
=
6
,
ADC_Channel7
=
7
,
#if defined __SAMD21J18A__
ADC_Channel8
=
8
,
ADC_Channel9
=
9
,
#endif // __SAMD21J18A__
ADC_Channel10
=
10
,
ADC_Channel11
=
11
,
#if defined __SAMD21J18A__
...
...
@@ -44,7 +48,7 @@ typedef enum _EAnalogChannel
ADC_Channel13
=
13
,
ADC_Channel14
=
14
,
ADC_Channel15
=
15
,
#endif
#endif
// __SAMD21J18A__
ADC_Channel16
=
16
,
ADC_Channel17
=
17
,
ADC_Channel18
=
18
,
...
...
@@ -83,7 +87,7 @@ typedef enum _ETCChannel
TC6_CH1
=
(
6
<<
8
)
|
(
1
),
TC7_CH0
=
(
7
<<
8
)
|
(
0
),
TC7_CH1
=
(
7
<<
8
)
|
(
1
),
#endif
#endif
// __SAMD21J18A__
}
ETCChannel
;
extern
const
void
*
g_apTCInstances
[
TCC_INST_NUM
+
TC_INST_NUM
]
;
...
...
@@ -123,7 +127,7 @@ typedef enum _EPWMChannel
PWM6_CH1
=
TC6_CH1
,
PWM7_CH0
=
TC7_CH0
,
PWM7_CH1
=
TC7_CH1
,
#endif
#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