diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-05-04 14:16:21 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-07-24 11:16:05 -0400 |
commit | eba252d3fd963ae10a51bea644f2b0c9e504e559 (patch) | |
tree | d472e0a01f04adedfe5a47a11e91133cd8166da1 /src/spicmds.h | |
parent | 940db6bd70be981c2002905bbbbb7f41977b79e9 (diff) | |
download | kutter-eba252d3fd963ae10a51bea644f2b0c9e504e559.tar.gz kutter-eba252d3fd963ae10a51bea644f2b0c9e504e559.tar.xz kutter-eba252d3fd963ae10a51bea644f2b0c9e504e559.zip |
thermocouple: Add initial support for common SPI temperature sensing chips
Signed-off-by: Petri Honkala <cruwaller@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/spicmds.h')
-rw-r--r-- | src/spicmds.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/spicmds.h b/src/spicmds.h new file mode 100644 index 00000000..dee50665 --- /dev/null +++ b/src/spicmds.h @@ -0,0 +1,10 @@ +#ifndef __SPICMDS_H +#define __SPICMDS_H + +#include <stdint.h> // uint8_t + +struct spidev_s *spidev_oid_lookup(uint8_t oid); +void spidev_transfer(struct spidev_s *spi, uint8_t receive_data + , uint8_t data_len, uint8_t *data); + +#endif // stepper.h |