-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtest.h
24 lines (19 loc) · 1.14 KB
/
test.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/******************************************************************************/
/* PiCC1101 - Radio serial link using CC1101 module and Raspberry-Pi */
/* */
/* Test routines */
/* */
/* (c) Edouard Griffiths, F4EXB, 2015 */
/* */
/******************************************************************************/
#ifndef _TEST_H_
#define _TEST_H_
#include "main.h"
#include "pi_cc_spi.h"
#include "radio.h"
int radio_transmit_test_int(spi_parms_t *spi_parms, arguments_t *arguments);
int radio_receive_test_int(spi_parms_t *spi_parms, arguments_t *arguments);
void radio_test_echo(spi_parms_t *spi_parms, radio_parms_t *radio_parms, arguments_t *arguments, uint8_t active);
int radio_transmit_test(spi_parms_t *spi_parms, arguments_t *arguments);
int radio_receive_test(spi_parms_t *spi_parms, arguments_t *arguments);
#endif