aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring_private.h
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2015-03-02 13:33:50 +0100
committerMartino Facchin <m.facchin@arduino.cc>2015-05-29 15:01:37 +0200
commit6940c1d64454c4550d41d5dc14fea2ca5963c231 (patch)
tree6b14aaba46030286fd51a4fb72881dbd32a60d43 /cores/arduino/wiring_private.h
parent2bac15c63d519a4b7eeba4d8e6c0407056986a68 (diff)
pulseIn: modify function to use ASM implementation
Diffstat (limited to 'cores/arduino/wiring_private.h')
-rw-r--r--cores/arduino/wiring_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cores/arduino/wiring_private.h b/cores/arduino/wiring_private.h
index 5dc7d4b..3bd2900 100644
--- a/cores/arduino/wiring_private.h
+++ b/cores/arduino/wiring_private.h
@@ -43,6 +43,8 @@ extern "C"{
#define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
#endif
+uint32_t countPulseASM(volatile uint8_t *port, uint8_t bit, uint8_t stateMask, unsigned long maxloops);
+
#define EXTERNAL_INT_0 0
#define EXTERNAL_INT_1 1
#define EXTERNAL_INT_2 2