source: rtems/c/src/lib/libbsp/powerpc/mvme3100/tod/todcfg.c @ 0057e38f

5
Last change on this file since 0057e38f was 0057e38f, checked in by Sebastian Huber <sebastian.huber@…>, on 07/04/16 at 09:06:53

libchip: Simplify RTC driver

  • Property mode set to 100644
File size: 636 bytes
Line 
1/*
2 * This file contains the RTC driver table for the MVME3100 BSP
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.org/license/LICENSE.
7 *
8 * Modified for mvme3100 by T. Straumann, 2007
9 */
10
11#include <bsp.h>
12#include <libchip/rtc.h>
13#include <libchip/ds1375-rtc.h>
14
15/* The following table configures the RTC drivers used in this BSP */
16rtc_tbl RTC_Table[] = {
17        DS1375_RTC_TBL_ENTRY(BSP_I2C_DS1375_RAW_DEV_NAME),
18};
19
20/* Some information used by the RTC driver */
21
22#define NUM_RTCS (sizeof(RTC_Table)/sizeof(rtc_tbl))
23
24size_t RTC_Count = NUM_RTCS;
Note: See TracBrowser for help on using the repository browser.