Commit graph

34 commits

Author SHA1 Message Date
Henry Gabryjelski
00dd2e0097 Per @hathach request 2020-08-03 17:06:51 -07:00
Henry Gabryjelski
3253d46f45 Avoid unused parameter compiler warnings 2020-01-17 01:16:20 -08:00
dean
0654cd01b3 DM: fix interrupt handling 2018-11-05 13:18:00 -05:00
dean
b7e942d924 DM: fix stuff from rebase 2018-08-30 15:40:15 -04:00
dean
87eae6f55c DM: add copyrights 2018-08-30 15:12:51 -04:00
dean
8106e6bfa4 DM: fix interrupts, pcc pins 2018-08-30 15:09:31 -04:00
dean
6820318d33 DM: EIC and VARIANT_MCK fix 2018-08-30 14:58:20 -04:00
dean
c1827b289d DM: added support for samd51J20A 2018-08-30 14:46:42 -04:00
dean
b5c2b6483b DM: clocked to 120MHZ, peripherals to 100, USB to 48 2018-08-30 14:44:35 -04:00
Phillip Burgess
158ed33b1c Allow attachInterrupt() on NMI pin (PA08 on ATSAMD21E) 2018-08-30 14:44:35 -04:00
dean
358b11addd DM: added samd51 support 2018-08-30 14:32:21 -04:00
Cristian Maglie
812d3e90cc Put interrupt mask instead of interrupt num in ISR callbacks list
This should save some cycles inside ISR Handler.
2017-09-08 17:00:17 +02:00
Cristian Maglie
9d9fe5c097 Slightly clearer formula for interrupt config register position 2017-09-08 16:55:33 +02:00
Cristian Maglie
1330914898 Some code makeup 2017-09-08 16:05:40 +02:00
Cristian Maglie
02d8bf82a2 Fixed allocation/deallocation of interrupts subroutines 2017-09-08 15:37:29 +02:00
Cristian Maglie
d2b717871b interrupts: remove unneeded cleanup 2017-09-08 11:35:02 +02:00
joverbee
9a49ce2fc4 Improve interrupt handling response time
Change the way ISRs are stored. Store now in a list on a ‘first come
first served basis’, the first interrupt that gets attached will be
served first. This improves the speed of the ISR calling from about 6us
to 2us for a single interrupt on extint14

See #200
2017-09-05 14:12:10 +02:00
joverbee
a9fa694eb7 Reset sense bits before or-writing the new sense signature
Solve #199
2017-09-04 16:51:36 +02:00
Sandeep Mistry
49f0d67161 Bump ARDUINO_SAMD_VARIANT_COMPLIANCE to 100606 2016-04-06 13:39:49 -04:00
Sandeep Mistry
2e620d7019 Move digitalPinToInterrupt definition to Arduino.h if variant compliance it 1.6.5 or higher 2016-04-06 13:12:15 -04:00
Sandeep Mistry
0352cc8558 Change digitalPinToInterrupt to return pin, and use g_APinDescription[pin].ulExtInt to map pin inside attachInterrupt/detachInterrupt
This brings things inline with the atachInterrupt documentation for
usage:
attachInterrupt(digitalPinToInterrupt(pin), ISR, mode);
2016-04-06 13:12:15 -04:00
rocketscream
d58b22d12c Fixed attachInterrupt() for use during sleep 2016-01-12 16:11:34 +08:00
Cristian Maglie
b0e8ff0675 WInterrupts: optimized use of digitalPinToInterrupt() 2015-09-04 17:21:19 +02:00
Cristian Maglie
e53a7a7ad1 Removed redundant #ifdef __cplusplus in WInterrupts.c 2015-09-04 17:17:22 +02:00
Cristian Maglie
d654db2248 Cosmetic changes in WInterrupt.* 2015-09-04 17:16:21 +02:00
Cristian Maglie
e258489713 Simplified "callbacksInt" structure in WInterrupts.c 2015-09-04 15:35:38 +02:00
Cristian Maglie
6538f8950b NMI interrupts are now correctly ignored by attach/detachInterrupt
Fixes #30
2015-09-04 15:33:41 +02:00
Cristian Maglie
cc5948b211 WInterrupts.c cosmetic fix 2015-09-04 15:17:30 +02:00
Cristian Maglie
f3dc649efe Fixed warnings 2015-06-15 15:49:43 +02:00
Cristian Maglie
97f1cf6af5 Hide non-API pinPeripheral method 2015-06-15 14:16:15 +02:00
Cristian Maglie
1a1856c2fc License fix and cosmetic changes. 2015-06-14 17:16:37 +02:00
Claudio Indellicati
e32f402e2e Fixed NMI handling. 2015-03-26 17:24:54 +01:00
Jonathan BAUDIN
ae441981d7 Validation Interrupt 2014-06-02 13:40:20 +02:00
Thibaut VIARD
3cd1d4e606 Bringing support of External Interrupts 2014-05-15 00:07:03 +02:00