Commit graph

49 commits

Author SHA1 Message Date
Helmut Tschemernjak
2ef5b7810e Added alternate ports 44,45 to make the SWCLK and SWDIO pins available
when no debugger is being used.
BTW. The presence of a debugger can be checked via:
if (DSU->STATUSB.bit.DBGPRES) ...
2018-10-23 13:53:59 +02:00
Eugen
cfbb6121a5 Allows PWM on Pin7 (Issue #178) 2017-07-11 15:28:59 +02:00
agdl
c440a235f4 Fix requested in #155 for PMW on pin 13 2016-07-25 16:43:44 +02:00
Cristian Maglie
4abdb778a8 Enabling PWM on pins A1/A2.
Pins A1/A2 uses TC4 to generate PWM, the same used in Servo library,
so both cannot work together.
2015-11-20 21:07:03 +01:00
Cristian Maglie
80d212a0cc Pin peripheral for analogRead is always PIO_ANALOG.
The attribute ATTR_ANALOG is needed to select DAC, so it has been
removed from pins A1..A5 that doesn't have a DAC.
2015-11-20 21:07:03 +01:00
Cristian Maglie
46ca790fce Added PIN_ATTR_TIMER_ALT attribute for correct timer selection
The selection of the correct timer peripheral is now
decided through the PIN_ATTR_{TIMER/TIMER_ALT} attribute.
2015-11-20 21:07:03 +01:00
Cristian Maglie
0368e10eaa Fixed EXT_INT numbers in variant for pin 8 and 9
See #30
2015-09-04 15:09:04 +02:00
Cristian Maglie
b161b7127a Merge branch 'sercom-pads' into zero 2015-06-05 16:45:23 +02:00
Fede85
66f7eef4cb Swapped PA08 and PA14.
Now PA14 is connected to Arduino Zero digital pin 2(NO-PWM) and PA08 is connected to digial pin 4(PWM)
Also connected PA13 to Arduino Zero ATN pin
2015-06-05 15:30:39 +02:00
Thibaut VIARD
e951ca9bf8 Adding the ability to choose SERCOM Pads 2015-05-27 20:29:32 +02:00
Claudio Indellicati
730ff49356 Minor change (fixed wrong pin mapping comments). 2015-03-27 17:53:30 +01:00
Thibaut VIARD
06058c613a fix inverted pins D0/D1 2015-03-23 11:24:30 +01:00
Thibaut VIARD
1d2acee48a fixing typos in pins description
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2015-03-19 00:49:18 +01:00
Thibaut VIARD
726d21d4fb removing PWM/TIMER attirbutes on pins 0/1
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-24 18:09:40 +01:00
Thibaut VIARD
1a08dd4a50 Fixing Serialx pins mismatch
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-20 14:31:45 +01:00
Thibaut VIARD
cebfc3c655 Update following pin assignement change
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-18 17:03:56 +01:00
Thibaut VIARD
1d251a33b9 PWM pins 4-13 working
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-11-17 20:02:22 +01:00
Thibaut VIARD
0e6f63c917 Updating pins description
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-22 10:40:09 +02:00
Thibaut VIARD
791b199e6f Adding USB pin macros, update pin list comments
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-11 17:40:55 +02:00
Thibaut VIARD
f1a8c8b140 Update pin numbers according to recent changes
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-11 16:39:21 +02:00
Thibaut VIARD
df1262a92a CORE files update following headers update
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-11 14:56:36 +02:00
Thibaut VIARD
a5223478ed Removing non-pins and pin reorg
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-09-09 12:32:24 +02:00
Thibaut VIARD
908d1030b3 updating PWM pins/channels to allow more to be used simultaneously 2014-07-15 16:59:38 +02:00
Thibaut VIARD
a526ee56bc Merge branch 'zero' of github.com:arduino/ArduinoZero into zero
Conflicts:
	hardware/arduino/samd/variants/arduino_zero/variant.cpp
2014-05-16 14:31:23 +02:00
Thibaut VIARD
8109cf88bd Updating Analog pins 2014-05-16 14:23:51 +02:00
Jonathan BAUDIN
0f3247688b Merge branch 'zero' of github.com:arduino/ArduinoZero into zero
Conflicts:
	hardware/arduino/samd/variants/arduino_zero/variant.cpp
2014-05-15 18:19:35 +02:00
Jonathan BAUDIN
8b1d9bfd27 SPI implement tested 2014-05-15 18:10:01 +02:00
Thibaut VIARD
435f4a33e3 Merge branch 'zero' of github.com:arduino/ArduinoZero into zero_int
Conflicts:
	hardware/arduino/samd/variants/arduino_zero/variant.cpp
2014-05-15 12:27:36 +02:00
Jonathan BAUDIN
78f2dde11e Merge branch 'zero' of github.com:arduino/ArduinoZero into zero
Conflicts:
	hardware/arduino/samd/variants/arduino_zero/variant.cpp
2014-05-15 11:57:32 +02:00
Jonathan BAUDIN
e4ab3ba3ef Few UART corrections, modifiy Variant files 2014-05-15 11:54:59 +02:00
Thibaut VIARD
3cd1d4e606 Bringing support of External Interrupts 2014-05-15 00:07:03 +02:00
Thibaut VIARD
d300278c66 PWM AnalogWrite refactoring 2014-05-14 10:34:15 +02:00
Thibaut VIARD
a73966ceaa Fixing the failed compilation due to PR #16 merge 2014-05-13 17:23:25 +02:00
Thibaut VIARD
b0c732558f Merge pull request #16 from jsemette/zero
TCC/TC pull request
2014-05-13 15:14:15 +02:00
Jérôme SEMETTE
6b117d4519 rework wiring_analog.c PWM part to get PWM channel information in
variant.c instead of TC/TCC information
2014-05-13 13:47:06 +02:00
Thibaut VIARD
3d9b479278 Fixing default peripheral attributed to SPI(ICSP) pins 2014-05-13 10:55:45 +02:00
Jérôme SEMETTE
8a13af1052 Merge branch 'zero' of github.com:arduino/ArduinoZero into zero
Conflicts:
	hardware/arduino/samd/cores/arduino/validation/build_as6/test.atsuo
	hardware/arduino/samd/cores/validation/validation_core/build_as6/test.cppproj
	hardware/arduino/samd/cores/validation/validation_core/test.cpp
2014-05-13 10:11:06 +02:00
Thibaut VIARD
ce74e70d60 Updating EDBG SERCOM peripheral type 2014-05-12 15:54:44 +02:00
Thibaut VIARD
83cf1c0bfd Merge branch 'zero' of github.com:arduino/ArduinoZero into zero
Conflicts:
	hardware/arduino/samd/variants/arduino_zero/variant.cpp
2014-05-12 11:51:22 +02:00
Thibaut VIARD
ab89e9e4f3 Adding EDBG UART pin definitions 2014-05-09 16:36:01 +02:00
Jérôme SEMETTE
d9a6408a88 Following modification done in zero project :
- Update test.cpp
- Add support of wiring_analog.c in AS6 test project
- Modify variant for PWM generation on LED (pin 13)
2014-05-09 16:11:33 +02:00
Jonathan BAUDIN
3c6f9b55f7 Initialize clock 2014-05-09 14:07:29 +02:00
Jonathan BAUDIN
ec353f3cbe Merge branch 'zero' of github.com:aethaniel/ArduinoZero into zero 2014-05-09 08:05:40 +02:00
Thibaut VIARD
28a144a7ee Adding information about PTC in variant description 2014-05-08 17:12:18 +02:00
Jonathan BAUDIN
92d2f670f0 Creating objects SERCOMx, Serial, SPI and Wire. 2014-05-07 16:56:34 +02:00
Thibaut VIARD
30614228fe Adding digital with variant defs update 2014-05-05 19:12:17 +02:00
Thibaut VIARD
ce9b9285cb checkpoint 2014-05-05 11:37:53 +02:00
Thibaut VIARD
de0ab3927e Adding Zero variant 2014-04-30 11:23:36 +02:00
Thibaut VIARD
973ccc47d8 Adding first files, not Zero specific 2014-04-15 14:46:03 +02:00