Rev.1.20 2 Rev.1.20 3
BS84B08C
触控 A/D 型 Flash 单片机
BS84B08C
触控 A/D 型 Flash 单片机
2018-03-22
存储器指针 – MP0, MP1 ..................................................................................................... 25
存储区指针 – BP ................................................................................................................. 26
累加器 – ACC ...................................................................................................................... 26
程序计数器低字节寄存器 – PCL ....................................................................................... 26
表格寄存器 – TBLP, TBHP, TBLH ..................................................................................... 26
状态寄存器 – STATUS ........................................................................................................ 27
EEPROM 数据存储器 ................................................................................................. 29
EEPROM 数据存储器结构 ................................................................................................. 29
EEPROM 寄存器 ................................................................................................................. 29
从 EEPROM 中读取数据 .................................................................................................... 30
写数据到 EEPROM ............................................................................................................. 30
写保护 .................................................................................................................................. 31
EEPROM 中断 ..................................................................................................................... 31
编程注意事项 ...................................................................................................................... 31
振荡器 ...........................................................................................................................32
振荡器概述 .......................................................................................................................... 32
系统时钟配置 ...................................................................................................................... 32
内部高速 RC 振荡器 – HIRC ............................................................................................. 33
内部 32kHz 振荡器 – LIRC ................................................................................................ 33
工作模式和系统时钟 ...................................................................................................33
系统时钟 .............................................................................................................................. 33
系统工作模式 ...................................................................................................................... 34
控制寄存器 .......................................................................................................................... 34
工作模式转换 ...................................................................................................................... 36
待机电流注意事项 .............................................................................................................. 39
唤醒 ...................................................................................................................................... 39
编程注意事项 ...................................................................................................................... 39
看门狗定时器 ...............................................................................................................40
看门狗定时器时钟源 .......................................................................................................... 40
看门狗定时器控制寄存器 .................................................................................................. 40
看门狗定时器操作 .............................................................................................................. 41
复位和初始化 ...............................................................................................................42
复位功能 .............................................................................................................................. 42
复位初始状态 ...................................................................................................................... 44
输入 / 输出端口 ............................................................................................................47
上拉电阻 .............................................................................................................................. 47
PA 口唤醒 ............................................................................................................................ 48
输入 / 输出端口控制寄存器 ............................................................................................... 48
输入 / 输出端口源电流控制 ............................................................................................... 48
引脚重置功能 ...................................................................................................................... 50
输入 / 输出引脚结构 ........................................................................................................... 50
编程注意事项 ...................................................................................................................... 51
定时器模块 – TM .........................................................................................................51
简介 ...................................................................................................................................... 51