/*
 * rfchannel.h
 *
 * Created: 25.3.2012 16:17:25
 *  Author: Kain
 */


#ifndef RFCHANNEL_H_
#define RFCHANNEL_H_
#include "crc7.h"
#include "usart.h"
#define RF_SYNCMARK         0b10101010
#define RF_REPEAT_FRAME_NTIMES      10  // Pocet odeslani komplet ramce
#define RF_REPEAT_SYNC_NTIMES   2		// Pocet odeslani
#define RF_REPEAT_SYNCMARK_NTIMES   2   // Pocet Sync znacek v ramci

void RF_sendData(const uint8_t address, const uint8_t data);


#endif /* RFCHANNEL_H_ */