文件名称:T1
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 19kb
- 下载次数:
- 0次
- 提 供 者:
- 山*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
IAR环境下的MSP430F149,使用定时器A,每隔5000个时钟周期点亮/熄灭LED的程序- Descr iption: Toggle P3.4 using software and TA_0 ISR. Toggles every
50000 SMCLK cycles. SMCLK provides clock source for TACLK.
// During the TA_0 ISR, P3.4 is toggled and 50000 clock cycles are added to
CCR0. TA_0 ISR is triggered every 50000 cycles. CPU is normally off and
used only during TA_ISR.
ACLK = n/a, MCLK = SMCLK = TACLK = default DCO ~800kHz
// MSP430F149
// ---------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// | P3.4|-->LED
50000 SMCLK cycles. SMCLK provides clock source for TACLK.
// During the TA_0 ISR, P3.4 is toggled and 50000 clock cycles are added to
CCR0. TA_0 ISR is triggered every 50000 cycles. CPU is normally off and
used only during TA_ISR.
ACLK = n/a, MCLK = SMCLK = TACLK = default DCO ~800kHz
// MSP430F149
// ---------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// | P3.4|-->LED
(系统自动生成,下载前可以参看下载内容)
下载文件列表
T1\Backup of T1.ewd
..\Backup of T1.ewp
..\Debug\Exe\T1.d43
..\.....\Obj\main.r43
..\.....\...\T1.pbd
..\main.c
..\settings\T1.cspy.bat
..\........\T1.dbgdt
..\........\T1.dni
..\........\T1.wsdt
..\T1.dep
..\T1.ewd
..\T1.ewp
..\T1.eww
..\Debug\Exe
..\.....\List
..\.....\Obj
..\Debug
..\settings
T1
..\Backup of T1.ewp
..\Debug\Exe\T1.d43
..\.....\Obj\main.r43
..\.....\...\T1.pbd
..\main.c
..\settings\T1.cspy.bat
..\........\T1.dbgdt
..\........\T1.dni
..\........\T1.wsdt
..\T1.dep
..\T1.ewd
..\T1.ewp
..\T1.eww
..\Debug\Exe
..\.....\List
..\.....\Obj
..\Debug
..\settings
T1