Skip to content

Adding more available ADC channels for SAMD21J18 #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions cores/arduino/WVariant.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,18 @@ 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__
ADC_Channel12=12,
ADC_Channel13=13,
ADC_Channel14=14,
ADC_Channel15=15,
#endif
#endif // __SAMD21J18A__
ADC_Channel16=16,
ADC_Channel17=17,
ADC_Channel18=18,
Expand Down Expand Up @@ -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] ;
Expand Down Expand Up @@ -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
Expand Down