?? timeout.h
字號(hào):
//*----------------------------------------------------------------------------
//* ATMEL Microcontroller Software Support - ROUSSET -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//* File Name : timeout.h
//* Object : 2 simple routines to handle timeout using AT91C_ST_CRTR register
//* Creation : ODi 01/06/2003
//*
//*----------------------------------------------------------------------------
#ifndef AT91_TIMEOUT_H
#define AT91_TIMEOUT_H
typedef struct _AT91S_TIMEOUT {
unsigned int tick;
unsigned int second;
} AT91S_TIMEOUT, *AT91PS_TIMEOUT;
extern void AT91F_InitTimeout(AT91PS_TIMEOUT pTimeout, unsigned int second);
extern int AT91F_TestTimeout(AT91PS_TIMEOUT pTimeout);
#endif // AT91_TIMEOUT_H
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -