#include "board.h"
#include "transceiver.h"
#include "ioutil.h"
#include "xmpl.h"
static volatile bool tx_in_progress;
static volatile uint8_t tx_cnt;
static volatile uint8_t tx_fail;
#define SEQ_OFFSET (2)
#define TX_FAIL_OFFSET (7)
#define TX_SRAM_OFFSET (1)
int main(void)
{
ERR_CHECK(TRX_OFF!=rval);
#if defined(TRX_IRQ_TRX_END)
#elif defined(TRX_IRQ_RX_END)
#else
# error "Unknown IRQ bits"
#endif
tx_cnt = 0;
tx_in_progress = false;
while(1);
}
#if defined(TRX_IF_RFA1)
ISR(TRX24_RX_END_vect)
{
if (trac_status != TRAC_SUCCESS)
{
}
}
#else
ISR(TRX_IRQ_vect)
{
if (irq_cause & TRX_IRQ_TRX_END)
{
if (trac_status != TRAC_SUCCESS)
{
}
}
}
#endif