Statistics
| Branch: | Revision:

root / hw / m48t59.h @ 4e3e9d0b

History | View | Annotate | Download (388 Bytes)

1 a541f297 bellard
#if !defined (__M48T59_H__)
2 a541f297 bellard
#define __M48T59_H__
3 a541f297 bellard
4 c5df018e bellard
typedef struct m48t59_t m48t59_t;
5 c5df018e bellard
6 c5df018e bellard
void m48t59_write (m48t59_t *NVRAM, uint32_t val);
7 c5df018e bellard
uint32_t m48t59_read (m48t59_t *NVRAM);
8 c5df018e bellard
void m48t59_set_addr (m48t59_t *NVRAM, uint32_t addr);
9 b69fedff bellard
void m48t59_toggle_lock (m48t59_t *NVRAM, int lock);
10 c5df018e bellard
m48t59_t *m48t59_init (int IRQ, uint32_t io_base, uint16_t size);
11 a541f297 bellard
12 a541f297 bellard
#endif /* !defined (__M48T59_H__) */