?? timer4admclear.c
字號:
/******************************************************************************
* *
* ********** *
* ************ *
* *** *** *
* *** ++ *** *
* *** + + *** CHIPCON *
* *** + *
* *** + + *** *
* *** ++ *** *
* *** *** *
* ************ *
* ********** *
* *
*******************************************************************************
Filename: timer4AdmClear.c
Target: cc2430
Author: EFU
Revised: 16/12-2005
Revision: 1.0
******************************************************************************/
#include "cul.h"
extern volatile TIMER4_TABLE_ENTRY timer4Table[TIMER_ADM_TABLE_LENGTH];
//-----------------------------------------------------------------------------
// See cul.h for a description of this function.
//-----------------------------------------------------------------------------
void culTimer4AdmClear(BYTE entry){
BYTE status;
// Storing the interrupt enable register, and turning off interrupts
status = IEN0;
INT_GLOBAL_ENABLE(INT_OFF);
// Setting up the table.
timer4Table[entry].timeout = 0;
timer4Table[entry].counter = 0;
timer4Table[entry].callBackFunction = NULL;
// Restoring the interrupt enable status.
IEN0 = status;
return;
} // ends culTimer4AdmClear(...)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -