for learning

Dependencies:   mbed FastPWM

Committer:
GiJeongKim
Date:
Wed Aug 14 08:13:36 2019 +0000
Revision:
0:51c43836c1d7
Child:
11:82d8768d7351
cocoa;

Who changed what in which revision?

UserRevisionLine numberNew 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_