1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/include/transceiver.h
Oliver Hahm 044616bf19 * some work on rx handling in cc110x_ng
* added first version of cc110x_ng test application
* introduced a generic transceiver interface and module
2010-11-19 20:10:09 +01:00

29 lines
477 B
C

#ifndef TRANSCEIVER_H
#define TRANSCEIVER_H
#define TRANSCEIVER_BUFFER_SIZE (10)
#define TRANSCEIVER_STACK_SIZE (4096)
enum transceiver_msg_type_t {
RCV_PKT,
SND_PKT,
SND_ACK,
SWITCH_RX,
POWERDOWN,
};
enum transceiver_type_t {
NONE,
CC1100,
CC1020
};
void transceiver_init(transceiver_type_t transceiver);
void transceiver_start(void);
extern int transceiver_pid;
extern void *transceiver_rx_buffer;
#endif /* TRANSCEIVER_H */