]>
Commit | Line | Data |
---|---|---|
420557e8 FB |
1 | #if !defined (__M48T08_H__) |
2 | #define __M48T08_H__ | |
3 | ||
4 | typedef struct m48t08_t m48t08_t; | |
5 | ||
6 | void m48t08_write (m48t08_t *NVRAM, uint32_t val); | |
7 | uint32_t m48t08_read (m48t08_t *NVRAM); | |
8 | void m48t08_set_addr (m48t08_t *NVRAM, uint32_t addr); | |
9 | void m48t08_toggle_lock (m48t08_t *NVRAM, int lock); | |
8d5f07fa | 10 | m48t08_t *m48t08_init(uint32_t mem_base, uint16_t size, uint8_t *macaddr); |
420557e8 FB |
11 | |
12 | #endif /* !defined (__M48T08_H__) */ |