代码搜索结果
找到约 10,000 项符合
RTC 的代码
cmd_misc.c
/***************************************************************************
* This code and information is provided "as is" without warranty of any *
* kind, either expressed or implied, includ
rtcdrv.h
#ifndef __RTCDRV_H__
#define __RTCDRV_H__
#ifdef __cplusplus
extern "C" {
#endif
#define RTC_WRITE_MODE 0x0
#define RTC_READ_MODE 0x1
enum RTC1302_REGADDR
{
RTC1302_SEC_RE
rtcdrv.h
#ifndef __RTCDRV_H__
#define __RTCDRV_H__
#ifdef __cplusplus
extern "C" {
#endif
#define RTC_WRITE_MODE 0x0
#define RTC_READ_MODE 0x1
enum RTC1302_REGADDR
{
RTC1302_SEC_RE
idle.c
/*****************************************
NAME: idle.c
DESC: IDLE mode test
HISTORY:
03.23.2002:purnnamu: first release for 2410
06.02.2003:DonGo: Modified for 2440
*****************
idle.c
/*****************************************
NAME: idle.c
DESC: IDLE mode test
HISTORY:
03.23.2002:purnnamu: first release for 2410
06.02.2003:DonGo: Modified for 2440
*****************
timeciir.s
;******************************************************************************
; 文件名:TIMECIIR.S
; 功能:利用RTC的增量功能进行1S的定时,当定时时间到时,取反蜂鸣器控制I/O。
; 说明:将跳线器JP9短接,JP4断开。
;********************************
timeciir.s
;******************************************************************************
; 文件名:TIMECIIR.S
; 功能:利用RTC的增量功能进行1S的定时,当定时时间到时,取反蜂鸣器控制I/O。
; 说明:将跳线器JP9短接,JP4断开。
;********************************
makefile
all: sched_toggle.o rtc_toggle.o rectangle.o
MYCFLAGS = -O2 -Wall
include ../../../rtl.mk
sched_toggle.o: sched_toggle.c common.h
$(CC) ${INCLUDE} ${CFLAGS} -c sched_toggle.c
rtc_toggle.o: rtc_tog
time.c
/*
* linux/arch/arm/kernel/time.c
*
* Copyright (C) 1991, 1992, 1995 Linus Torvalds
* Modifications for ARM (C) 1994, 1995, 1996,1997 Russell King
*
* This program is free software; you can
ds1302.c
/*!***************************************************************************
*!
*! FILE NAME : ds1302.c
*!
*! DESCRIPTION: Implements an interface for the DS1302 RTC through Etrax I/O
*!
*! Functio