代码搜索结果
找到约 10,000 项符合
RTC 的代码
rtcapi.h
#ifndef _RTC_API_H
#define _RTC_API_H
typedef struct tagDATETIME
{
U16 year;
U16 month;
U16 week;
U16 day;
U16 hour;
U16 minute;
U16 second;
U16 millisecon
rtcapi.h
#ifndef _RTC_API_H
#define _RTC_API_H
typedef struct tagDATETIME
{
U16 year;
U16 month;
U16 week;
U16 day;
U16 hour;
U16 minute;
U16 second;
U16 millisecon
viewcmos.c
#include
#include
typedef struct
{ char seconds; /* AT Real Time Clock (RTC): Seconds */
char secalrm; /* AT RTC: Seconds Alarm */
char minutes; /* AT RTC: Minutes */
char
tests.mak
#
# Makefile for RTC Test driver (VC++ compiler)
#
# Copyright (c) Texas Instruments 2002
#
# Compilation flags
RTC_TESTS_FLAGS := -mt -mn $(CFLAGSDRIVERS_TESTS)
WIN_RTC_TES
freescale
/** ###################################################################
** THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
** Filename : RTC1.H
** Project : rtc
**
freescale
/** ###################################################################
** THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
** Filename : RTC1.C
** Project : rtc
**
rtctest.c
#include
void rtc_test()
{
struct rtc_time testtime,test;
int i;
//set alarm clock time
rtc_ioctl(0,&testtime,0);
printf("Alarm time before set:%d:%d:%d\n",testtime.tm_hour,te
ht1380.h
#include "IOrCmp.h"
#define RSTRTC 16
#define RTIO 15
#define RTCLK 14
#define RTC_WR 16
#define RTC_DATA 15
#define RTC_CLK 14
#ifdef CMP_SOFT
#define RTC_CE 17
#else
#define RT
rtctest.c
#include
void rtc_test()
{
struct rtc_time testtime,test;
int i;
//set alarm clock time
rtc_ioctl(0,&testtime,0);
printf("Alarm time before set:%d:%d:%d\n",testtime.tm_hour,te