代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.cpp
#include "timer.h"
TimerObj::TimerObj (void)
{
Init ();
}
//inline
void TimerObj::Init(void)
{
if (RamTest != 0x55aa)//内存被破坏
{
CountA = 0;
CountB = 0;
}
timer.h
#include "main.h"
#ifdef __IAR_SYSTEMS_ICC__
#ifndef _SYSTEM_BUILD
#pragma system_include
#endif
#endif
#ifndef __MSP430_TIMER_H
#define __MSP430_TIMER_H
#ifdef __cplusplus
extern "C"
timer.c
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you lic
timer.c
/**
* \addtogroup timer
* @{
*/
/**
* \file
* Timer library implementation.
* \author
* Adam Dunkels
*/
/*
* Copyright (c) 2004, Swedish Institute of Computer Science.
* All
timer.h
/**
* \defgroup timer Timer library
*
* The timer library provides functions for setting, resetting and
* restarting timers, and for checking if a timer has expired. An
* application must "manual
timer.c
/*
Turbo BDM Light ColdFire - general timing & LED handling
Copyright (C) 2005 Daniel Malik
This program is free software; you can redistribute it and/or modify
it under the ter
timer.h
interrupt void timer2_10ms_tick(void);
void timer2_init(void);
void wait_10us(unsigned char ticks);
void wait_1ms(unsigned char ticks);
timer.h
#ifndef __I386_TIMER
#define __I386_TIMER
#ifndef TIMER_FREQ
#define TIMER_FREQ ((long)1193180)
#define HZ 100 /* shedual per 10ms */
#define SHED_RREQ (TIMER_FREQ/HZ+1)/* 20 ticks more