root / hw / m48t59.h @ 71be0fc3
History | View | Annotate | Download (430 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 | e1bb04f7 | bellard | m48t59_t *m48t59_init (int IRQ, uint32_t io_base,
|
11 | e1bb04f7 | bellard | uint32_t mem_base, uint16_t size); |
12 | a541f297 | bellard | |
13 | a541f297 | bellard | #endif /* !defined (__M48T59_H__) */ |