Kim GiJeong
/
cocoa_STM_ver_BIPOLAR
cocoa_STM_ver_BIPOLAR
SPI_EEP_ENC/SPI_EEP_ENC.h@1:be9b2f6d39c2, 2019-08-20 (annotated)
- Committer:
- GiJeongKim
- Date:
- Tue Aug 20 12:35:26 2019 +0000
- Revision:
- 1:be9b2f6d39c2
- Parent:
- 0:51c43836c1d7
abc;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GiJeongKim | 0:51c43836c1d7 | 1 | #ifndef _SPI_EEP_ENC_H_ |
GiJeongKim | 0:51c43836c1d7 | 2 | #define _SPI_EEP_ENC_H_ |
GiJeongKim | 0:51c43836c1d7 | 3 | |
GiJeongKim | 0:51c43836c1d7 | 4 | #include "mbed.h" |
GiJeongKim | 0:51c43836c1d7 | 5 | |
GiJeongKim | 0:51c43836c1d7 | 6 | |
GiJeongKim | 0:51c43836c1d7 | 7 | void spi_eeprom_ready(void); |
GiJeongKim | 0:51c43836c1d7 | 8 | void spi_eeprom_write(unsigned short int add, unsigned int data); |
GiJeongKim | 0:51c43836c1d7 | 9 | unsigned int spi_eeprom_read(unsigned short int add); |
GiJeongKim | 0:51c43836c1d7 | 10 | |
GiJeongKim | 0:51c43836c1d7 | 11 | void spi_enc_set_clear(void); |
GiJeongKim | 0:51c43836c1d7 | 12 | void spi_enc_set_init(void); |
GiJeongKim | 0:51c43836c1d7 | 13 | int spi_enc_read(void); |
GiJeongKim | 0:51c43836c1d7 | 14 | |
GiJeongKim | 0:51c43836c1d7 | 15 | #endif //_SPI_H_ |