root / hw / m48t08.h @ a8d3431a
History | View | Annotate | Download (299 Bytes)
1 | 420557e8 | bellard | #if !defined (__M48T08_H__)
|
---|---|---|---|
2 | 420557e8 | bellard | #define __M48T08_H__
|
3 | 420557e8 | bellard | |
4 | 420557e8 | bellard | typedef struct m48t08_t m48t08_t; |
5 | 420557e8 | bellard | |
6 | e80cfcfc | bellard | void m48t08_write (m48t08_t *NVRAM, uint32_t addr, uint8_t val);
|
7 | e80cfcfc | bellard | uint8_t m48t08_read (m48t08_t *NVRAM, uint32_t addr); |
8 | e80cfcfc | bellard | m48t08_t *m48t08_init(uint32_t mem_base, uint16_t size); |
9 | 420557e8 | bellard | |
10 | 420557e8 | bellard | #endif /* !defined (__M48T08_H__) */ |