代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.d
.\SDRAM\timer.o: Timer.c
.\SDRAM\timer.o: Preprocess.h
.\SDRAM\timer.o: Type.h
.\SDRAM\timer.o: F:\Program Files\Keil\ARM\INC\Atmel\SAM7SE\AT91SAM7SE512.H
.\SDRAM\timer.o: F:\Program Files\Keil\AR
timer.c
//Main.c
#include "Preprocess.h"
#include "Timer.h"
CALL_BACK g_pTcTaskHandler;
VOID TimerInit (CALL_BACK pHandler){
//init the timer interrupt counter
g_pTcTaskHandler = pH
timer.h
//Timer.h
#ifndef _TIMER_H_
#define _TIMER_H_
#include "type.h"
#include "board.h"
#define TC_CLKS_MCK2 (0x0)
#define TC_CLKS_MCK8 (0x1)
#define TC_CLKS_MCK32 (0
timer.h
/******************************************************************/
/* timer.h - v0.00 */
/* Copyright (c) 1997 Texas Instruments Incorporated
timer.h
/******************************************************************/
/* timer.h - v0.00 */
/* Copyright (c) 1997 Texas Instruments Incorporated
timer.c
#include "includes.h"
#include "timer.h"
#include "interrupt.h"
/*******************************************************************************
*外设时钟列表,他们的tc_handling可以根据具体情况各自设置各自的,但对与中断程序入口
timer.h
#ifndef _TIMER_H
#define _TIMER_H
#define AT91C_TC_TCCLKS_MCK2 (0x0