Sungwoo Kim
/
HydraulicControlBoard_Learning
for learning
Diff: SPI_EEP_ENC/SPI_EEP_ENC.h
- Revision:
- 170:42c938a40313
- Parent:
- 57:f4819de54e7a
- Child:
- 224:985dba42f261
- Child:
- 253:0246366e0dcb
diff -r 645207e160ca -r 42c938a40313 SPI_EEP_ENC/SPI_EEP_ENC.h --- a/SPI_EEP_ENC/SPI_EEP_ENC.h Mon Nov 16 02:23:23 2020 +0000 +++ b/SPI_EEP_ENC/SPI_EEP_ENC.h Wed Nov 18 12:03:39 2020 +0000 @@ -4,9 +4,10 @@ #include "mbed.h" -//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_eeprom_ready(void); +void spi_eeprom_write(unsigned short add, unsigned int data); +unsigned int spi_eeprom_read(unsigned short add); +void spi_eeprom_call_data(void); void spi_enc_set_clear(void); void spi_enc_set_init(void);