Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
wiring_private.h
1 // Just for compatibility with Arduino libraries.
2 
3 #ifndef WIRING_WIRING_PRIVATE_H_
4 #define WIRING_WIRING_PRIVATE_H_
5 
6 #include <stdio.h>
7 #include <stdarg.h>
8 #include "Arduino.h"
9 
10 #ifdef __cplusplus
11 extern "C"{
12 #endif
13 
14 #ifndef cbi
15 #define cbi(sfr, bit) (_SFR_BYTE(sfr) &= ~_BV(bit))
16 #endif
17 #ifndef sbi
18 #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit))
19 #endif
20 
21 typedef void (*voidFuncPtr)(void);
22 
23 #ifdef __cplusplus
24 } // extern "C"
25 #endif
26 
27 #endif /* WIRING_WIRING_PRIVATE_H_ */