forked from Elron_dev/elbear_arduino_bsp
добавлена поддержка еще одного прерывания и еще двух выводов для ШИМ для
платы Elbear. добавлены флаги компиляции, необходимые для работы в ArduinoIDE v1.8.19
This commit is contained in:
1 parent
f06650400b
commit
a32d749c60
19 files changed
+172
-116
No files matched your search
@@ -6,10 +6,12 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include "stdbool.h"
|
||||
|
||||
// enable/disable interrupts
|
||||
void interrupts(void);
|
||||
void noInterrupts(void);
|
||||
bool isInterruptsEnabled(void);
|
||||
|
||||
// attach/detach interrupt to pin
|
||||
void attachInterrupt(uint8_t interruptNum, void (*userFunc)(void), int mode);
|
||||
|
||||
Reference in new issue
Block a user