AVR library
ee_95.h
1 #ifndef MAT_EE95_H
2 #define MAT_EE95_H
3 
4 #include <inttypes.h>
5 
6 void ee95_init(uint8_t fdiv);
7 void ee95_rd(uint16_t adr, uint8_t* buf, uint16_t len);
8 void ee95_wr(uint16_t adr, uint8_t d);
9 uint8_t ee95_rdsr(void);
10 
11 #endif
void ee95_rd(uint16_t adr, uint8_t *buf, uint16_t len)
Read from EE.
Definition: ee_95.c:87
void ee95_wr(uint16_t adr, uint8_t d)
Write to EE.
Definition: ee_95.c:109
void ee95_init(uint8_t fdiv)
Initializes SPI, CS and EE write protect pin.
Definition: ee_95.c:68