root / hw / m48t08.h @ 1d6e34fd
History | View | Annotate | Download (299 Bytes)
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 addr, uint8_t val);
|
7 |
uint8_t m48t08_read (m48t08_t *NVRAM, uint32_t addr); |
8 |
m48t08_t *m48t08_init(uint32_t mem_base, uint16_t size); |
9 |
|
10 |
#endif /* !defined (__M48T08_H__) */ |