Rev.3.10 2 Rev.3.10 3
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
内置 EEPROM 增强 A/D 型 Flash 单片机
2022-04-12
写数据到 EEPROM ............................................................................................................. 45
写保护 .................................................................................................................................. 45
EEPROM 中断 ..................................................................................................................... 45
编程注意事项 ...................................................................................................................... 46
程序举例 .............................................................................................................................. 46
振荡器 ...........................................................................................................................47
振荡器概述 .......................................................................................................................... 47
系统时钟配置 ...................................................................................................................... 47
外部晶体 / 陶瓷振荡器 – HXT ........................................................................................... 48
外部 RC 振荡器 – ERC ....................................................................................................... 49
内部 RC 振荡器 – HIRC ..................................................................................................... 49
外部 32.768kHz 晶体振荡器 – LXT ................................................................................... 50
内部 32kHz 振荡器 – LIRC ................................................................................................ 51
辅助振荡器 .......................................................................................................................... 51
工作模式和系统时钟 ...................................................................................................52
系统时钟 .............................................................................................................................. 52
系统工作模式 ...................................................................................................................... 54
控制寄存器 .......................................................................................................................... 55
快速唤醒 .............................................................................................................................. 56
工作模式切换 ...................................................................................................................... 57
待机电流的注意事项 .......................................................................................................... 61
唤醒 ...................................................................................................................................... 61
编程注意事项 ...................................................................................................................... 61
看门狗定时器 ...............................................................................................................62
看门狗定时器时钟源 .......................................................................................................... 62
看门狗定时器控制寄存器 .................................................................................................. 62
看门狗定时器操作 .............................................................................................................. 63
复位和初始化 ...............................................................................................................64
复位功能 .............................................................................................................................. 64
复位初始状态 ...................................................................................................................... 67
输入 / 输出端口 ............................................................................................................80
上拉电阻 .............................................................................................................................. 83
PA 口唤醒 ............................................................................................................................ 85
输入 / 输出端口控制寄存器 ............................................................................................... 85
引脚重置功能 ...................................................................................................................... 88
引脚重置寄存器 .................................................................................................................. 88
输入 / 输出引脚结构 ........................................................................................................... 95
编程注意事项 ..................................................................................................................... 96
定时器模块 – TM .........................................................................................................96
简介 ...................................................................................................................................... 96
TM 操作 .............................................................................................................................. 97
TM 时钟源 .......................................................................................................................... 97
TM 中断 .............................................................................................................................. 97