![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2011
Diff: SPI_EEP_ENC/SPI_EEP_ENC.h
- Revision:
- 16:903b5a4433b4
- Parent:
- 11:82d8768d7351
- Child:
- 18:b8adf1582ea3
diff -r bd0d12728506 -r 903b5a4433b4 SPI_EEP_ENC/SPI_EEP_ENC.h --- a/SPI_EEP_ENC/SPI_EEP_ENC.h Fri Aug 30 02:26:11 2019 +0000 +++ b/SPI_EEP_ENC/SPI_EEP_ENC.h Mon Sep 02 13:32:33 2019 +0000 @@ -4,9 +4,9 @@ #include "mbed.h" -void spi_eeprom_ready(void); -void spi_eeprom_write(unsigned short int add, unsigned int data); -unsigned int spi_eeprom_read(unsigned short int add); +//void spi_eeprom_ready(void); +//void spi_eeprom_write(unsigned short add, unsigned int data); +//unsigned int spi_eeprom_read(unsigned short add); void spi_enc_set_clear(void); void spi_enc_set_init(void); @@ -84,6 +84,8 @@ #define RID_PRES_A_SENSOR_VREF 50 #define RID_PRES_B_SENSOR_VREF 51 +#define RID_NOTHING 52 + #define RID_VALVE_GAIN_PLUS_1 60 #define RID_VALVE_GAIN_MINUS_1 61 #define RID_VALVE_GAIN_PLUS_2 62