2004-10-01 00:13:50 +02:00
|
|
|
#if !defined (__M48T08_H__)
|
|
|
|
#define __M48T08_H__
|
|
|
|
|
|
|
|
typedef struct m48t08_t m48t08_t;
|
|
|
|
|
2004-12-20 00:18:01 +01:00
|
|
|
void m48t08_write (m48t08_t *NVRAM, uint32_t addr, uint8_t val);
|
|
|
|
uint8_t m48t08_read (m48t08_t *NVRAM, uint32_t addr);
|
|
|
|
m48t08_t *m48t08_init(uint32_t mem_base, uint16_t size);
|
2004-10-01 00:13:50 +02:00
|
|
|
|
|
|
|
#endif /* !defined (__M48T08_H__) */
|