2018-05-04 21:16:21 +03:00
|
|
|
#ifndef __SPICMDS_H
|
|
|
|
#define __SPICMDS_H
|
|
|
|
|
|
|
|
#include <stdint.h> // uint8_t
|
|
|
|
|
|
|
|
struct spidev_s *spidev_oid_lookup(uint8_t oid);
|
2019-08-06 18:44:29 +03:00
|
|
|
struct spi_software;
|
|
|
|
void spidev_set_software_bus(struct spidev_s *spi, struct spi_software *ss);
|
2018-05-04 21:16:21 +03:00
|
|
|
void spidev_transfer(struct spidev_s *spi, uint8_t receive_data
|
|
|
|
, uint8_t data_len, uint8_t *data);
|
|
|
|
|
2019-08-06 18:44:29 +03:00
|
|
|
#endif // spicmds.h
|