Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SPI_EEP_ENC/SPI_EEP_ENC.h
- Revision:
- 0:51c43836c1d7
- Child:
- 11:82d8768d7351
diff -r 000000000000 -r 51c43836c1d7 SPI_EEP_ENC/SPI_EEP_ENC.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SPI_EEP_ENC/SPI_EEP_ENC.h Wed Aug 14 08:13:36 2019 +0000 @@ -0,0 +1,15 @@ +#ifndef _SPI_EEP_ENC_H_ +#define _SPI_EEP_ENC_H_ + +#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_enc_set_clear(void); +void spi_enc_set_init(void); +int spi_enc_read(void); + +#endif //_SPI_H_ \ No newline at end of file