Location:
Search - msp430f149 T1
Search list
Description: msp430f149操作定时器的例子,非常经典-MSP430F149 timer operation example, very classic
Platform: |
Size: 19456 |
Author: tom |
Hits:
Description: IAR环境下的MSP430F149,使用定时器A,每隔5000个时钟周期点亮/熄灭LED的程序- Description: 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
Platform: |
Size: 19456 |
Author: 山雨 |
Hits: