Readme File for MSP430 Code Examples
------------------------------------
The MSP430 code examples are provided for demonstration purposes only. The
intent is to show how to use the various peripherals found on the MSP430. To
avoid redundancy, registers were not configured unless necessary. Default
values were used. Delay loops were ommitted in many cases. For instance,
when enabling the ADC12's internal reference, one should allow 17 msec for it
to settle to ensure the first sample is accurate. Always consult applicable
datasheet when developing an application.
Coding Style Guidelines for Assembly Code Examples
--------------------------------------------------
1. No line should exceed 80 characters.
2. Use MACROs provided in the MSP430 header file.
3. Labels start in column 1 and are 10 characters or less.
4. Instructions/DIRECTIVES start in column 13.
5. Instructions are lower case and DIRECTIVES are upper case.
6. Operands start in column 21.
7. Comments start in column 45, first word is capitalized.
8. For multi-line comments, additional lines are NOT capitalized.
Examples:
Column: 13 21 45
| | |
Label in/DIR short_operand ; Comment
Column: 13 21 45
| | |
Label in/DIR this_operand_is_extra_long
; Comment
Column: 13 21 45
| | |
Label in/DIR this_operand_is_extra_long
; First line of comment
; additional comment line
Use MACROs from MSP430 header file:
StopWDT mov.w #WDTPW+WDTHOLD,&WDTCTL ; Stop Watchdog Timer
Instead of hex values:
StopWDT mov.w #05A80h,&0120h ; Stop Watchdog Timer
Use ".w" extension for word instructions:
RESET mov.w #300h,SP ; Initialize stack pointer
Coding Style Guidelines for C Code Examples
--------------------------------------------------
1. No line should exceed 80 characters.
2. Use MACROs provided in the MSP430 header file.
3. Comments start in column 45, first word is capitalized.
4. For multi-line comments, additional lines are NOT capitalized.
5. Use two-space indentation
没有合适的资源?快使用搜索试试~ 我知道了~
msp430f447 f449单片机软硬件技术资料+ 软件DEMO例程合集.rar
共996个文件
c:238个
asm:59个
s43:59个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 7 下载量 101 浏览量
2021-07-13
17:01:29
上传
评论
收藏 131.73MB RAR 举报
温馨提示
msp430f447 f449单片机技术资料+ 软件DEMO例程合集: 447开发板原理图.pdf 4xx 演示程序 msp430f449.pdf MSP430x4xx Family User Guide.pdf msp430 test44x TI提供例程 练习模块 定时器捕获 IO口 点灯 时钟 基本定时器 ADC LCD玻璃片 LCD1621液晶 LCD ADC12 单通道多次重复采样 ADC12多路 多通道多次重复采样 串口 DS1302
资源推荐
资源详情
资源评论
收起资源包目录
msp430f447 f449单片机软硬件技术资料+ 软件DEMO例程合集.rar (996个子文件)
prac1.aqm1 324B
prac1.aqm2 314B
prac12_LCD_pm.asm 29KB
prac10_indep.asm 22KB
prac8_adc12_lcd.asm 14KB
prac11_LED_LCD_time.asm 14KB
prac14_eeprom.asm 12KB
prac7_thinking_ca_temp2.asm 11KB
prac13_exDATA FLASH.asm 11KB
prac10_matrix.asm 11KB
prac7_thinking_ca_temp1.asm 6KB
prac8_thinking_adc12_6.asm 5KB
prac9_max3485.asm 5KB
prac8_adc12_a0-ref1p5v.asm 4KB
prac9_max3485_02400.asm 4KB
prac8_thinking_adc12_9.asm 4KB
prac9_3485_09600.asm 4KB
prac99_syn_016x.asm 4KB
prac8_thinking_adc12_7.asm 4KB
prac9_232-2400.asm 4KB
prac8_thinking_adc12_2.asm 4KB
prac9_232.asm 4KB
prac9_asyn_thinking_02400.asm 4KB
prac9_232_0115k.asm 4KB
prac9_asyn_thinking_0115k.asm 4KB
prac9_232_19200.asm 4KB
prac9_asyn_thinking_19200.asm 4KB
prac9_232_09600.asm 4KB
prac9_asyn_09600.asm 4KB
prac3_flash_write.asm 3KB
prac2_thinking1.asm 3KB
prac8_thinking_adc12_4.asm 3KB
prac6_tb_thinking4.asm 3KB
prac6_tb_thinking3.asm 3KB
prac8_thinking_lcd.asm 3KB
prac6_ta_thinking2.asm 3KB
prac6_ta_thinking3.asm 3KB
prac8_thinking_adc12_5.asm 3KB
prac8_thinking_adc12_10.asm 3KB
prac8_thinking_adc12_3.asm 3KB
prac6_tb_thinking5.asm 3KB
prac6_ta_timer.asm 3KB
prac6_ta_pwm_thinking.asm 3KB
prac6_ta_pwm.asm 3KB
prac6_ta_thinking4.asm 3KB
prac6_tb_thinking1.asm 3KB
prac2_thinking4.asm 2KB
prac6_tb_thinking2.asm 2KB
prac4_wdt_timer.asm 2KB
prac6_ta_thinking1.asm 2KB
prac8_thinking_adc12_8.asm 2KB
prac8_thinking_bt_2.asm 2KB
prac4_wdt.asm 2KB
prac7_compA.asm 2KB
prac8_thinking_bt_1.asm 2KB
prac2_thinking2.asm 2KB
prac2_thinging3.asm 2KB
prac8_thinking_adc12_1.asm 2KB
PRAC2.ASM 2KB
PRAC1.ASM 2KB
PRAC5.ASM 1KB
prac12_LCD_pm.asr 115KB
449test.cspy.bat 2KB
main.Debug.cspy.bat 2KB
b.cspy.bat 1KB
413TEST.cspy.bat 1KB
449test.cspy.bat 1KB
413TEST.cspy.bat 1KB
449test.cspy.bat 1KB
413TEST.cspy.bat 1KB
main.cspy.bat 1KB
main.cspy.bat 1KB
main.cspy.bat 1KB
main.cspy.bat 1KB
main.cspy.bat 1KB
MAIN.cspy.bat 1KB
main.cspy.bat 1KB
main.cspy.bat 1KB
pro.cspy.bat 1KB
149test.cspy.bat 1KB
MAIN.cspy.bat 916B
adc.cspy.bat 916B
ARDR301E.BIN 4.86MB
449test.pbd.browse 482KB
main.pbd.browse 70KB
449 KEY 4.c 10KB
449test.c 10KB
449test.c 10KB
TEST44X_lsd logo.c 9KB
TEST44X_lsd logo.c 9KB
TEST44X_key_int_time.c 8KB
TEST44X_key_int_time.c 8KB
TEST44X_lsd logo.c 7KB
TEST44X_key_int_time.c 7KB
TEST44X_key_row_time.c 6KB
TEST44X_key_row_time.c 6KB
LCD_160.c 6KB
LCD_160.c 6KB
fet440_lcd_02.c 6KB
TEST44X_testLED.c 5KB
共 996 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
探索者我有我路向
- 粉丝: 282
- 资源: 1815
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- STM32-Lib-LIS3DSH-Accelerometer-main
- 软件测试面试题.pdf
- WINSOFT ComPort 6.0 for Delphi XE10.1-XE10.3 Cracked
- 数据库基础知识参考试题.doc
- 数据库存储引擎技术的优劣势分析.docx
- 基于GPT的AI文档分析、阅读和问答工具.txt
- 《机器人控制系统的设计与Matlab仿真 》仿真程序
- AI-免费物品无损放大工具AI在线免费放大图片工具.txt
- C++基于DPLL算法的SAT的蜂窝数独游戏求解程序,程序设计综合课程设计,包括SAT求解器板块、蜂窝数独转化成cnf公式板块
- 微信小程序恐龙快跑小程序源码.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页