nfc test on MQX4.1
[nfc-test.git] / nfc_spi.h
blob10dbce65040e46b54d4b77716a713f64df891c64
1 #include <mqx.h>
2 #include <bsp.h>
3 #include <spi.h>
6 int nfc_spi_init(void ** spi_fd);
8 void nfc_spi_uninit(void * spi_fd);
10 int nfc_spi_write(void * spi, uint8_t *in_buf, uint32_t in_len);
12 int nfc_spi_write_then_read(void * spi, uint8_t *in_buf, uint32_t in_len,
13 uint8_t *out_buf, uint32_t out_len);