timeout.h
来自「ATMEL AT91SAM926x 测试程序。在ADS环境下测试AT91SAM9」· C头文件 代码 · 共 26 行
H
26 行
//*----------------------------------------------------------------------------
//* 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
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?