代码搜索:TimerA
找到约 1,846 项符合「TimerA」的源代码
代码结果 1,846
www.eeworm.com/read/352586/10535962
c df_timera.c
/*****************************************************************************\
文件名:df_timera.c
描述:用于MSP430F149。
定时器A定时,产生中断,使主程序退出低功耗模式。
使用TACTL0
工作模式:增计数模式
时钟源:ACLK为32.768kHz
www.eeworm.com/read/352586/10536005
h df_timera.h
#ifndef __DF_TIMER_A
#define __DF_TIMER_A
void TimerAInit();
void SetTime(unsigned int ti);
void GotimeDfA(unsigned char doit);
#define TIME_20MS 655 //定时时间,约20ms
#endif
www.eeworm.com/read/464840/7060833
c df_timera.c
#include
#include"df_timera.h"
#include"hl_key.h"
/***************************
初始化
***************************/
void TimerAInit()
{
TACTL=TASSEL_1+TACLR+MC_0; //选择时钟源为
www.eeworm.com/read/464840/7060848
h df_timera.h
#ifndef __DF_TIMER_A
#define __DF_TIMER_A
void TimerAInit();
void SetTime(unsigned int ti);
void GotimeDfA(unsigned char doit);
#define TIME_NMS 655 //定时时间约为20ms
#endif
www.eeworm.com/read/241031/13178469
c df_timera.c
#include
#include "df_timera.h"
#include "MSP430KEY.h"
/*****************************************************************
初始化
****************************************************
www.eeworm.com/read/241031/13178499
h df_timera.h
#ifndef __DF_TIMER_A
#define __DF_TIMER_A
void TimerAInit();
void SetTime(unsigned int ti);
void GotimeDfA(unsigned char doit);
#define TIME_20MS 655 //定时时间约20ms
#endif
www.eeworm.com/read/317157/13509177
c df_timera.c
/*****************************************************************************\
文件名:df_timera.c
描述:用于MSP430F149。
定时器A定时,产生中断,使主程序退出低功耗模式。
使用TACTL0
工作模式:增计数模式
时钟源:ACLK 32.
www.eeworm.com/read/317157/13509183
h df_timera.h
#ifndef __DF_TIMER_A
#define __DF_TIMER_A
void TimerAInit();
void SetTime(unsigned int ti);
void GotimeDfA(unsigned char doit);
#define TIME_20MS 655 //定时时间 约20ms
#endif
www.eeworm.com/read/317157/13509195
c df_timera.c
/*****************************************************************************\
文件名:df_timera.c
描述:用于MSP430F149。
定时器A定时,产生中断,使主程序退出低功耗模式。
使用TACTL1
工作模式:增计数模式
时钟源:ACLK为32.
www.eeworm.com/read/317157/13509200
h df_timera.h
#ifndef __DF_TIMERA
#define __DF_TIMERA
void TimerAInit();
void SetTime(unsigned int ti);
void GotimeDfA(unsigned char doit);
#endif