@@ -66,47 +66,13 @@ extern uint32_t F_CPU_CORRECTED;
6666#define _NOP () do { __asm__ volatile ("nop"); } while (0)
6767#endif
6868
69- typedef unsigned int word ;
70-
71- #define bit (b ) (1UL << (b))
72-
73- typedef bool boolean ;
74- typedef uint8_t byte ;
7569
7670extern uint32_t F_CPU_CORRECTED ;
7771
78- void init (void );
79- void initVariant (void );
80-
8172uint16_t clockCyclesPerMicrosecond (uint32_t clk );
8273uint16_t clockCyclesToMicroseconds (uint16_t cycles , uint32_t clk );
8374uint32_t microsecondsToClockCycles (uint16_t cycles , uint32_t clk );
8475
85- int atexit (void (* func )()) __attribute__((weak ));
86-
87- void pinMode (uint8_t , uint8_t );
88- void digitalWrite (uint8_t , uint8_t );
89- int digitalRead (uint8_t );
90- int analogRead (uint8_t );
91- void analogReference (uint8_t mode );
92- void analogWrite (uint8_t , int );
93-
94- unsigned long millis (void );
95- unsigned long micros (void );
96- void delay (unsigned long );
97- void delayMicroseconds (unsigned int us );
98- unsigned long pulseIn (uint8_t pin , uint8_t state , unsigned long timeout );
99- unsigned long pulseInLong (uint8_t pin , uint8_t state , unsigned long timeout );
100-
101- void shiftOut (uint8_t dataPin , uint8_t clockPin , uint8_t bitOrder , uint8_t val );
102- uint8_t shiftIn (uint8_t dataPin , uint8_t clockPin , uint8_t bitOrder );
103-
104- void attachInterrupt (uint8_t , void (* )(void ), int mode );
105- void detachInterrupt (uint8_t );
106-
107- void setup (void );
108- void loop (void );
109-
11076// Get the bit location within the hardware port of the given virtual pin.
11177// This comes from the pins_*.c file for the active board configuration.
11278
0 commit comments