|
#define | _NOP() do { __asm__ volatile ("nop"); } while (0) |
|
#define | abs(x) ((x)>0?(x):-(x)) |
|
#define | analogInPinToBit(P) (P) |
|
#define | analogInPinToBit(P) (P) |
|
#define | bit(b) (1UL << (b)) |
|
#define | bitClear(value, bit) ((value) &= ~(1UL << (bit))) |
|
#define | bitRead(value, bit) (((value) >> (bit)) & 0x01) |
|
#define | bitSet(value, bit) ((value) |= (1UL << (bit))) |
|
#define | bitWrite(value, bit, bitvalue) (bitvalue ? bitSet(value, bit) : bitClear(value, bit)) |
|
#define | CHANGE 1 |
|
#define | clockCyclesPerMicrosecond() ( F_CPU / 1000000L ) |
|
#define | clockCyclesToMicroseconds(a) ( (a) / clockCyclesPerMicrosecond() ) |
|
#define | constrain(amt, low, high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt))) |
|
#define | DEFAULT 1 |
|
#define | DEG_TO_RAD 0.017453292519943295769236907684886 |
|
#define | degrees(rad) ((rad)*RAD_TO_DEG) |
|
#define | digitalPinToBitMask(P) ( pgm_read_byte( digital_pin_to_bit_mask_PGM + (P) ) ) |
|
#define | digitalPinToPort(P) ( pgm_read_byte( digital_pin_to_port_PGM + (P) ) ) |
|
#define | digitalPinToTimer(P) ( pgm_read_byte( digital_pin_to_timer_PGM + (P) ) ) |
|
#define | DISPLAY 0x1 |
|
#define | EULER 2.718281828459045235360287471352 |
|
#define | EXTERNAL 0 |
|
#define | FALLING 2 |
|
#define | HALF_PI 1.5707963267948966192313216916398 |
|
#define | HIGH 0x1 |
|
#define | highByte(w) ((uint8_t) ((w) >> 8)) |
|
#define | INPUT 0x0 |
|
#define | INPUT_PULLUP 0x2 |
|
#define | INTERNAL 3 |
|
#define | interrupts() sei() |
|
#define | LOW 0x0 |
|
#define | lowByte(w) ((uint8_t) ((w) & 0xff)) |
|
#define | LSBFIRST 0 |
|
#define | max(a, b) ((a)>(b)?(a):(b)) |
|
#define | microsecondsToClockCycles(a) ( (a) * clockCyclesPerMicrosecond() ) |
|
#define | min(a, b) ((a)<(b)?(a):(b)) |
|
#define | MSBFIRST 1 |
|
#define | noInterrupts() cli() |
|
#define | NOT_A_PIN 0 |
|
#define | NOT_A_PORT 0 |
|
#define | NOT_AN_INTERRUPT -1 |
|
#define | NOT_ON_TIMER 0 |
|
#define | OUTPUT 0x1 |
|
#define | PI 3.1415926535897932384626433832795 |
|
#define | portInputRegister(P) ( (volatile uint8_t *)( pgm_read_word( port_to_input_PGM + (P))) ) |
|
#define | portModeRegister(P) ( (volatile uint8_t *)( pgm_read_word( port_to_mode_PGM + (P))) ) |
|
#define | portOutputRegister(P) ( (volatile uint8_t *)( pgm_read_word( port_to_output_PGM + (P))) ) |
|
#define | RAD_TO_DEG 57.295779513082320876798154814105 |
|
#define | radians(deg) ((deg)*DEG_TO_RAD) |
|
#define | RISING 3 |
|
#define | round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5)) |
|
#define | SERIAL 0x0 |
|
#define | sq(x) ((x)*(x)) |
|
#define | TIMER0A 1 |
|
#define | TIMER0B 2 |
|
#define | TIMER1A 3 |
|
#define | TIMER1B 4 |
|
#define | TIMER1C 5 |
|
#define | TIMER2 6 |
|
#define | TIMER2A 7 |
|
#define | TIMER2B 8 |
|
#define | TIMER3A 9 |
|
#define | TIMER3B 10 |
|
#define | TIMER3C 11 |
|
#define | TIMER4A 12 |
|
#define | TIMER4B 13 |
|
#define | TIMER4C 14 |
|
#define | TIMER4D 15 |
|
#define | TIMER5A 16 |
|
#define | TIMER5B 17 |
|
#define | TIMER5C 18 |
|
#define | TWO_PI 6.283185307179586476925286766559 |
|
|
int | analogRead (uint8_t) |
|
void | analogReference (uint8_t mode) |
|
void | analogWrite (uint8_t, int) |
|
int | atexit (void(*func)()) __attribute__((weak)) |
|
void | attachInterrupt (uint8_t, void(*)(void), int mode) |
|
void | delay (unsigned long) |
|
void | delayMicroseconds (unsigned int us) |
|
void | detachInterrupt (uint8_t) |
|
int | digitalRead (uint8_t) |
|
void | digitalWrite (uint8_t, uint8_t) |
|
void | init (void) |
|
void | initVariant (void) |
|
void | loop (void) |
|
unsigned long | micros (void) |
|
unsigned long | millis (void) |
|
void | pinMode (uint8_t, uint8_t) |
|
unsigned long | pulseIn (uint8_t pin, uint8_t state, unsigned long timeout) |
|
unsigned long | pulseInLong (uint8_t pin, uint8_t state, unsigned long timeout) |
|
void | setup (void) |
|
uint8_t | shiftIn (uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder) |
|
void | shiftOut (uint8_t dataPin, uint8_t clockPin, uint8_t bitOrder, uint8_t val) |
|
void | yield (void) |
|