Go to the source code of this file.
Defines | |
#define | INPUT_PIN 0 |
#define | OUTPUT_PIN 1 |
#define | SPI_SS 0 |
#define | SCK 1 |
#define | MOSI 2 |
#define | CSN 0 |
#define | LED_DDR DDRE |
#define | LED_PORT PORTE |
#define | LED_ORANGE 2 |
#define | LED_BLUE 3 |
#define | LED_GREEN 4 |
#define | LED_RED 5 |
#define | BUTTON_DDR DDRA |
#define | BUTTON_PORT PINA |
#define | BUTTON_PIN 7 |
#define | DEBUG_0 3 |
#define | DEBUG_1 4 |
#define | DEBUG_2 0 |
#define | DEBUG_3 1 |
#define | SET(port, pin) port |= (1<<(pin)) |
#define | CLR(port, pin) port &= ~(1<<(pin)) |
#define | TST(port, pin) ((port & (1<<(pin)))>>(pin)) |
#define | LED_SET(led) cbi(LED_PORT, (led)) |
#define | LED_CLR(led) sbi(LED_PORT, (led)) |
#define BUTTON_DDR DDRA |
#define BUTTON_PIN 7 |
#define BUTTON_PORT PINA |
#define CLR | ( | port, | |||
pin | ) | port &= ~(1<<(pin)) |
Definition at line 40 of file firefly2_2.h.
#define CSN 0 |
Definition at line 13 of file firefly2_2.h.
#define DEBUG_0 3 |
Definition at line 29 of file firefly2_2.h.
#define DEBUG_1 4 |
Definition at line 30 of file firefly2_2.h.
#define DEBUG_2 0 |
Definition at line 31 of file firefly2_2.h.
#define DEBUG_3 1 |
Definition at line 32 of file firefly2_2.h.
#define INPUT_PIN 0 |
Definition at line 6 of file firefly2_2.h.
#define LED_BLUE 3 |
#define LED_CLR | ( | led | ) | sbi(LED_PORT, (led)) |
#define LED_DDR DDRE |
#define LED_GREEN 4 |
#define LED_ORANGE 2 |
#define LED_PORT PORTE |
Definition at line 18 of file firefly2_2.h.
#define LED_RED 5 |
#define LED_SET | ( | led | ) | cbi(LED_PORT, (led)) |
#define MOSI 2 |
Definition at line 12 of file firefly2_2.h.
#define OUTPUT_PIN 1 |
Definition at line 7 of file firefly2_2.h.
#define SCK 1 |
Definition at line 11 of file firefly2_2.h.
#define SET | ( | port, | |||
pin | ) | port |= (1<<(pin)) |
Definition at line 39 of file firefly2_2.h.
#define SPI_SS 0 |
Definition at line 10 of file firefly2_2.h.
#define TST | ( | port, | |||
pin | ) | ((port & (1<<(pin)))>>(pin)) |