STM32F10x 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 n);
7 uint8_t ee95_rd(uint8_t n, uint32_t adr, uint8_t* buf, uint16_t len);
8 void ee95_wren(uint8_t n);
9 uint8_t ee95_wr(uint8_t n, uint32_t adr, uint8_t* buf, uint16_t len);
10 
11 #endif
uint8_t ee95_wr(uint8_t n, uint32_t adr, uint8_t *buf, uint16_t len)
Write to EE.
Definition: ee_95.c:91
void ee95_wren(uint8_t n)
EE write enable.
Definition: ee_95.c:73
uint8_t ee95_rd(uint8_t n, uint32_t adr, uint8_t *buf, uint16_t len)
Read from EE.
Definition: ee_95.c:55
void ee95_init(uint8_t n)
Init EE.
Definition: ee_95.c:42