root / hw / m48t59.h @ 50d3eeae
History | View | Annotate | Download (442 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 | 819385c5 | bellard | void m48t59_write (m48t59_t *NVRAM, uint32_t addr, uint32_t val);
|
7 | 819385c5 | bellard | uint32_t m48t59_read (m48t59_t *NVRAM, uint32_t addr); |
8 | b69fedff | bellard | void m48t59_toggle_lock (m48t59_t *NVRAM, int lock); |
9 | 819385c5 | bellard | m48t59_t *m48t59_init (int IRQ, target_ulong mem_base,
|
10 | 819385c5 | bellard | uint32_t io_base, uint16_t size, |
11 | 819385c5 | bellard | int type);
|
12 | a541f297 | bellard | |
13 | a541f297 | bellard | #endif /* !defined (__M48T59_H__) */ |