Description: 开发环境:IAR3.10
本程序成功将ucos2移植到MSP430F149上,调试通过。
将所有C文件包含到工程中,编译通过。
应用程序:app.c
主要为了测试,编写了两个任务,分别为P1.0延时10个时钟节拍反向,P1.1延时20个时钟节拍反向,在MSP430上测试成功-Development Environment: IAR3.10 This procedure successfully transplanted to MSP430F149 on ucos2, debugging through. C file contains all the works, the compiler through. Application: app.c primarily for testing, the preparation of the two tasks, namely P1.0 delayed 10 clock beats reverse, P1.1 delayed 20 clock beats the reverse, in the MSP430 to test the success of Platform: |
Size: 63488 |
Author:张焱 |
Hits:
Description: msp430系列单片机,IAR软件编程环境,c语言。有单片机io口操作,串口操作和测试时钟周期-MSP430 microcontroller, the IAR software programming environment, c language. Microcontroller IO port operation, serial port operation and test clock cycle Platform: |
Size: 44032 |
Author:sunlongqing |
Hits:
Description: 目录:1. 堆栈时钟初始化
2. RAM自测子程序
3. 二进制转化为BCD码(二进制16位(65536)放R15,结果放R4,R5)
4. BCD码转化为二进制(BCD码放R4,二进制放R5) R5=XO+10*(X1+10*(X2+10*X3))
5. BCD码转化为二进制(BCD码放R4,二进制放R5)R5=XO+10*X1+100*X2+1000*X3
6. 冒泡排序法(适合20个数字以下)
7. X=a^+b^(a为2个字节,b为2个字节,X为3个字节)
8. 比较器的应用
9. 从0X1080H起始的位置写数字,然后读出写入的数字并放在以0X200H开始的位置
10. 采用中断方式,利用TimerA, P1口输出3个不同频率的波形
11. 在比较模式下,使用输出模式7,输出PWM波形
12. CHU32_16除法子程序-Contents: 1. Stack clock initialization 2. RAM self-test routine 3. Binary converted to BCD (binary 16 (65536) put R15, the results put the R4, R5) 4. BCD code into binary (BCD laying R4, binary put R5) R5 = XO+10* (X1+10* (X2+10* X3)) 5. BCD code into binary (BCD laying R4, binary put R5) R5 = XO+10* X1+100* X2+1000* X3 6. bubble sort method (suitable for 20 digits less) 7. X = a ^+b ^ (a is 2 bytes, b is 2 bytes, X is 3 bytes) 8 9 comparator application from writing starting position 0X1080H number and then read out the written numbers and placed in the starting position with 0X200H 10. using interrupt mode, use TimerA, P1 port output three different frequency waveform 11 in Compare mode, using the output mode 7, the output PWM waveform 12 . CHU32_16 division subroutine Platform: |
Size: 1024 |
Author:fzgh |
Hits:
Description: 利用msp430单片机实现的电子时钟,可用键盘控制,并在1602液晶上显示,已通过实际测试-Msp430 MCU using the electronic clock, the keyboard can be controlled and displayed on the LCD 1602, has passed the practical test Platform: |
Size: 36864 |
Author:李璨旭 |
Hits:
Description: IIC时钟测试,MSP430系列iic时钟程序。通过仿真版测试。供大家参考。-IIC clock test, IIC series MSP430 clock program. Through the simulation version of the test. For your reference. Platform: |
Size: 14336 |
Author:杨明 |
Hits:
Description: MSP430单片机,时钟和定时器以及中断实验,附详细代码、实验要求及实验报告。需要安装MSP430开发环境IWE。-MSP430 microcontroller, clock and timer and interrupt the experiment, with detailed code, test requirements and test reports. We need to install the development environment MSP430 IWE. Platform: |
Size: 75347968 |
Author:OYchenguang |
Hits: