timer.h

来自「Coldfire MCF5282 DBug bootloader」· C头文件 代码 · 共 27 行

H
27
字号
/*
 * File:		timer.h
 * Purpose:		routines for accessing integrated timer modules
 *
 * Notes:		
 *
 *
 * Modifications:
 *
 */

#ifndef _TIMER_H
#define _TIMER_H

/********************************************************************/

typedef struct
{
	uint16	then;					/* previous TCN value */
	uint16	now;					/* most recent TCN value */
	uint32	timeouts;				/* count of timer reference reaches */
	uint32	reference;				/* number of timeouts desired */
} mpc5xx_timer;

/********************************************************************/

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?