2.15 模数递减计数器控制寄存器(MCCTL)..............................................................30
2.16 输入脉
冲累加器控制寄存器(ICPAR) ...............................................................31
2.17 输入覆
盖控制寄存器(ICOVW)..........................................................................31
2.18 输入系
统控制寄存器(ICSYS)............................................................................32
2.19 脉冲累
加器B控制寄存器(PBCTL)....................................................................33
2.20 脉冲累
加器B标志寄存器(PBFLG) ....................................................................34
2.21 脉冲累
加器保持寄存器(PA3H-PA0H).........................................................34
2.22 模数递
减计数器工作寄存器(MCCNT).............................................................35
2.23 IC保持
寄存器(TC0H-TC3H).........................................................................35
第三节 E
CT应用实例 .........................................................................................................37
3.1 定时器
编程步骤....................................................................................................37
3.2 输入捕
捉IC:........................................................................................................37
3.3 通道 6 输出比较....................................................................................................38
3.4 通道 7 输出比较....................................................................................................39
3.5 模数递
减计数器....................................................................................................40
第三章 SCI模块 ............................................................................................................................42
第一节 S
CI寄存器简介 ......................................................................................................42
1.1 波特率
控制寄存器(SCIBDH、SCIBDL) ............................................................42
1.2 控制寄
存器 1(SCICR1).........................................................................................43
1.3 控制寄
存器 2(SCICR2).........................................................................................44
1.4 状态寄
存器 1(SCISR1)....................................................................................45
1.5 状态寄
存器 2(SCISR2).........................................................................................47
1.6 数据寄
存器(SCIDRH、SCIDRL) ........................................................................47
第二节 S
CI应用示例 ..........................................................................................................48
第四章 SPI模块.............................................................................................................................53
第一节 SPI模块介绍...........................................................................................................53
1.1 SPI的功能特点......................................................................................................53
1.2 SPl的组
成与工作设置 ..........................................................................................54
第二节 SPI寄存器简介.......................................................................................................60
2.1 SPI控制寄存器 1(SPICR1) ...................................................................................60
2.2 SPI控制寄存器 2(SPICR2) ...................................................................................62
2.3 SPI波特率选择寄存器 ..........................................................................................62
2.4 SPI状态寄存器......................................................................................................63
2.5 SPI数据寄存器......................................................................................................64
第三节 SPI应用实例...........................................................................................................64
第五章 A/D转换模块....................................................................................................................67
第一节 A
/D模块介绍..........................................................................................................67
1.1 A/D转
换原理.........................................................................................................67
1.2 A/D转
换原理的应用前景.....................................................................................67
1.3 A/D转
换模块.........................................................................................................67
1.4 功能结
构图............................................................................................................68
1.5 HCS12A/D特点 .....................................................................................................68
第二节 A
/D寄存器简介......................................................................................................69
2.1 控制寄
存器 2(ATDCTL2) ...............................................................................69
II