Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:57

0001 /*
0002  * This file contains the RTC driver table for the MVME3100 BSP
0003  *
0004  * The license and distribution terms for this file may be
0005  * found in the file LICENSE in this distribution or at
0006  * http://www.rtems.org/license/LICENSE.
0007  *
0008  * Modified for mvme3100 by T. Straumann, 2007
0009  */
0010 
0011 #include <bsp.h>
0012 #include <libchip/rtc.h>
0013 #include <libchip/ds1375-rtc.h>
0014 
0015 /* The following table configures the RTC drivers used in this BSP */
0016 rtc_tbl RTC_Table[] = {
0017     DS1375_RTC_TBL_ENTRY(BSP_I2C_DS1375_RAW_DEV_NAME),
0018 };
0019 
0020 /* Some information used by the RTC driver */
0021 
0022 #define NUM_RTCS (sizeof(RTC_Table)/sizeof(rtc_tbl))
0023 
0024 size_t RTC_Count = NUM_RTCS;