Statistics
| Branch: | Revision:

root / hw / m48t08.h @ 546fa6ab

History | View | Annotate | Download (397 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 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);
10
m48t08_t *m48t08_init(uint32_t mem_base, uint16_t size, uint8_t *macaddr);
11

    
12
#endif /* !defined (__M48T08_H__) */