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>
This commit is contained in:
Kevin O'Connor
2018-05-04 14:16:21 -04:00
parent 940db6bd70
commit eba252d3fd
8 changed files with 583 additions and 4 deletions

10
src/spicmds.h Normal file
View File

@@ -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