Location:
Search - IAR for n
Search list
Description: NXP 新推出ARM7处理器芯片LPC2478的看门狗模块的例程代码。编译环境为IAR。-Code for the WDT(Watch Dog Timer)module of NXP s LPC2478 chip.The compile environment is IAR.
Platform: |
Size: 6144 |
Author: 程永生 |
Hits:
Description: IAR for NEC下的例子,芯片NEC78k0系列 78F9234 功能:将键值显示在数码管上-IAR for NEC under the example of chip NEC78k0 series 78F9234 function: the key displayed on the digital control
Platform: |
Size: 34816 |
Author: 年庆程 |
Hits:
Description: IAR环境下的MSP430F149,以温度传感器的电压值为采样信号的AD采样程序,采样间隔为80ms。- Description: Use ADC12 and the integrated temperature sensor to detect
temperature gradients. The temperature sensor output voltage is sampled
~ every 80ms and compared with the defined delta values using an ISR.
(ADC12OSC/256)/ determines sample time which needs to be greater than
30us for temperature sensor.
ADC12 is operated in repeat-single channel mode with the sample and
convert trigger sourced from Timer_A CCR1. The ADC12MEM0_IFG at the end
of each converstion will trigger an ISR.
ACLK = n/a, MCLK = SMCLK = default DCO ~ 800k, ADC12CLK = ADC12OSC
// MSP430F149
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// |A10 P3.4|-->LED
Platform: |
Size: 21504 |
Author: 山雨 |
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:
Description: IAR环境下的MSP430F149,使用定时器A的累加模式计时,每当CCR0溢出时,点亮/熄灭LED。- Description: Toggle P3.4 using software and TA_0 ISR. Timer_A is
configured for up mode, thus the timer overflows when TAR counts
to CCR0. In this example, CCR0 is loaded with 20000.
ACLK = n/a, MCLK = SMCLK = TACLK = default DCO ~800kHz
// MSP430F149
// ---------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// | P3.4|-->LED
Platform: |
Size: 15360 |
Author: 山雨 |
Hits: