![]() |
|
|||
File indexing completed on 2025-05-11 08:23:52
0001 /* 0002 * This file contains the RTC driver table for Motorola shared BSPs. 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 0009 #include <bsp.h> 0010 #include <libchip/rtc.h> 0011 #include <libchip/m48t08.h> 0012 0013 /* The following table configures the RTC drivers used in this BSP */ 0014 rtc_tbl RTC_Table[] = { 0015 { 0016 "/dev/rtc", /* sDeviceName */ 0017 RTC_M48T08, /* deviceType */ 0018 &m48t08_fns, /* pDeviceFns */ 0019 rtc_probe, /* deviceProbe */ 0020 NULL, /* pDeviceParams */ 0021 BSP_NVRAM_RTC_START, /* ulCtrlPort1 */ 0022 0x00, /* ulDataPort */ 0023 m48t08_get_register, /* getRegister */ 0024 m48t08_set_register /* setRegister */ 0025 } 0026 }; 0027 0028 /* Some information used by the RTC driver */ 0029 0030 #define NUM_RTCS (sizeof(RTC_Table)/sizeof(rtc_tbl)) 0031 0032 size_t RTC_Count = NUM_RTCS;
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |