]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/blob - include/drv_fray.h
Source and Header files modified
[pes-rpp/rpp-test-sw.git] / include / drv_fray.h
1 /*
2  * fray_spi.h
3  *
4  *  Created on: 12.2.2013
5  *      Author: Michal Horn
6  */
7
8 #ifndef FRAY_SPI_H_
9 #define FRAY_SPI_H_
10
11 #include "port_def.h"
12
13 #define FRAY_SPICMD_INIT_VAL    0xFFFF
14 #define FRAY_NUM_PORTS                  2
15
16 int fray_spi_transfer(uint8_t port);
17 int fray_spi_response(uint8_t port);
18 int fray_spi_get_cmd(uint8_t port);
19
20 #endif /* FRAY_SPI_H_ */