3.4 指令集...............................................................................................................................................................................59
3.4.1 双操作数(格式 I)指令.............................................................................................................................................60
3.4.2 单操作数(格式 II)指令............................................................................................................................................61
3.4.3 跳转............................................................................................................................................................................62
3.4.4 指令周期和长度..........................................................................................................................................................63
3.4.5 指令集说明.................................................................................................................................................................64
3.4.6 指令集详细信息..........................................................................................................................................................67
4 CPUX....................................................................................................................................................................................121
4.1 CPU 介绍........................................................................................................................................................................122
4.2 中断 ............................................................................................................................................................................... 124
4.3 CPU 寄存器....................................................................................................................................................................125
4.3.1 程序计数器 (PC)...................................................................................................................................................... 125
4.3.2 堆栈指针 (SP).......................................................................................................................................................... 125
4.3.3 状态寄存器 (SR)...................................................................................................................................................... 126
4.3.4 常数发生器寄存器(CG1 和 CG2)........................................................................................................................ 128
4.3.5 通用寄存器(R4 至 R15).......................................................................................................................................129
4.4 寻址模式.........................................................................................................................................................................131
4.4.1 寄存器模式...............................................................................................................................................................132
4.4.2 已索引的模式:........................................................................................................................................................133
4.4.3 符号模式.................................................................................................................................................................. 136
4.4.4 绝对模式.................................................................................................................................................................. 140
4.4.5 间接寄存器模式........................................................................................................................................................142
4.4.6 间接自动递增模式....................................................................................................................................................143
4.4.7 立即模式.................................................................................................................................................................. 144
4.5 MSP430 和 MSP430X 指令........................................................................................................................................... 146
4.5.1 MSP430 指令...........................................................................................................................................................146
4.5.2 MSP430 扩展指令................................................................................................................................................... 150
4.6 指令集说明..................................................................................................................................................................... 163
4.6.1 扩展指令二进制说明................................................................................................................................................ 164
4.6.2 MSP430 指令...........................................................................................................................................................166
4.6.3 MSP430X 扩展指令................................................................................................................................................. 218
4.6.4 MSP430X 寻址指令................................................................................................................................................. 259
5 基本时钟模块+...................................................................................................................................................................... 275
5.1 基本时钟模块+ 介绍....................................................................................................................................................... 276
5.2 基本时钟模块+ 的操作....................................................................................................................................................279
5.2.1 适用于低功耗应用的基本时钟模块+ 功能................................................................................................................ 279
5.2.2 内部超低功耗低频振荡器 (VLO)...............................................................................................................................279
5.2.3 LFXT1 振荡器.......................................................................................................................................................... 279
5.2.4 XT2 振荡器.............................................................................................................................................................. 280
5.2.5 数控振荡器 (DCO)................................................................................................................................................... 281
5.2.6 DCO 调制器.............................................................................................................................................................282
5.2.7 基本时钟模块+ 失效防护操作.................................................................................................................................. 283
5.2.8 时钟信号的同步........................................................................................................................................................283
5.3 基本时钟模块+ 寄存器....................................................................................................................................................285
6 DMA 控制器..........................................................................................................................................................................293
6.1 DMA 介绍....................................................................................................................................................................... 294
6.2 DMA 操作....................................................................................................................................................................... 295
6.2.1 DMA 寻址模式......................................................................................................................................................... 296
6.2.2 DMA 传输模式......................................................................................................................................................... 297
6.2.3 初始化 DMA 传输.....................................................................................................................................................303
6.2.4 停止 DMA 传输........................................................................................................................................................ 304
6.2.5 DMA 通道的优先级.................................................................................................................................................. 305
6.2.6 DMA 传输周期......................................................................................................................................................... 305
6.2.7 使用带有系统中断的 DMA ...................................................................................................................................... 305
6.2.8 DMA 控制器中断......................................................................................................................................................306
6.2.9 在 DMA 控制器下使用 USCI_B I
2
C 模块................................................................................................................. 306
目录
www.ti.com.cn
4
MSP430F2xx
、
MSP430G2xx
系列
ZHCU032K – DECEMBER 2004 – REVISED AUGUST 2022
Submit Document Feedback
English Document: SLAU144
Copyright © 2022 Texas Instruments Incorporated