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