Synergia AVR 0.1
|
Go to the source code of this file.
Defines | |
#define | SCK 1 |
#define | SDO 2 |
#define | SDI 3 |
#define | CS 0 |
#define | NIRQ 0 |
#define | HI(x) PORTB |= (1<<(x)) |
#define | LO(x) PORTB &= ~(1<<(x)) |
#define | WAIT_NIRQ_LOW() while(PIND & (1<<NIRQ)) |
Functions | |
USART0 (usb) | |
void | portInit () |
unsigned int | writeCmd (unsigned int cmd) |
void | rfInit () |
void | rfSend (unsigned char data) |
void | rfSendPackage () |
int | main () |
USART0 | ( | usb | ) |