m48t86.h 465 B

12345678910111213141516
  1. /*
  2. * ST M48T86 / Dallas DS12887 RTC driver
  3. * Copyright (c) 2006 Tower Technologies
  4. *
  5. * Author: Alessandro Zummo <a.zummo@towertech.it>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. struct m48t86_ops
  12. {
  13. void (*writebyte)(unsigned char value, unsigned long addr);
  14. unsigned char (*readbyte)(unsigned long addr);
  15. };