diff options
Diffstat (limited to 'c/src/libchip/rtc/m48t08_reg8.c')
-rw-r--r-- | c/src/libchip/rtc/m48t08_reg8.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/c/src/libchip/rtc/m48t08_reg8.c b/c/src/libchip/rtc/m48t08_reg8.c new file mode 100644 index 0000000000..dcc2a9b39b --- /dev/null +++ b/c/src/libchip/rtc/m48t08_reg8.c @@ -0,0 +1,24 @@ +/* + * This file contains a typical set of register access routines which may be + * used with the m48t08 chip if accesses to the chip are as follows: + * + * + registers are accessed as bytes + * + registers are on 64-bit boundaries + * + * COPYRIGHT (c) 1989-1997. + * On-Line Applications Research Corporation (OAR). + * Copyright assigned to U.S. Government, 1994. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#define _M48T08_MULTIPLIER 8 +#define _M48T08_NAME(_X) _X##_8 +#define _M48T08_TYPE unsigned8 + +#include "m48t08_reg.c" + |