SQ015L
- 3 -
5.2 休眠模式 ............................................................................................................................................... 31
5.3 模式切换举例 ....................................................................................................................................... 31
5.4 高低频时钟切换 ................................................................................................................................... 32
5.5 唤醒时间 ............................................................................................................................................... 33
5.6 寄存器 OSCCON .................................................................................................................................. 34
6 中断................................................................................................................................................................ 35
6.1 概述 ....................................................................................................................................................... 35
6.2 中断请求和标志寄存器 ....................................................................................................................... 36
6.3 GIE 全局中断 ........................................................................................................................................ 37
6.4 中断保护 ............................................................................................................................................... 37
6.5 TIMER0 中断 .......................................................................................................................................... 38
6.6 INT0 中断 .............................................................................................................................................. 39
6.7 端口电平变化中断 ............................................................................................................................... 40
6.8 TIMER1 中断 .......................................................................................................................................... 41
6.9 PWM3 中断 ........................................................................................................................................... 42
6.10 LVD 中断 .............................................................................................................................................. 43
7 I/O 端口 ......................................................................................................................................................... 45
7.1 I/O 端口模式 ......................................................................................................................................... 45
7.1 I/O 上拉模式 ......................................................................................................................................... 46
7.2 I/O 下拉模式 ......................................................................................................................................... 47
7.3 I/O 开漏模式 ......................................................................................................................................... 48
7.4 I/O 端口数据寄存器 ............................................................................................................................. 49
8 定时器............................................................................................................................................................ 50
8.1 看门狗定时器 ....................................................................................................................................... 50
8.2 TIMER0 定时/计数器 ............................................................................................................................. 51
8.3 TIMER1 定时/计数器 ............................................................................................................................. 54
8.3.1 功能概述 ....................................................................................................................................... 54
8.3.2 T1 使用操作说明 .............................................................................................................................. 55
8.3.3 T1 相关寄存器 .................................................................................................................................. 55
9 PWM3 ........................................................................................................................................................... 59
9.1 PWM3 输出模式 ................................................................................................................................... 59
9.1.1 互补输出模式 ............................................................................................................................... 59
9.1.2 独立输出模式 ............................................................................................................................... 59
9.2 PWM3 相关寄存器 ............................................................................................................................... 59
9.2.1 PWM3 控制寄存器 ........................................................................................................................... 59
9.2.2 PWM3 周期、占空比、死区寄存器 ............................................................................................... 62
10 LVD ............................................................................................................................................................... 64
11 指令表............................................................................................................................................................ 66
12 电气特性........................................................................................................................................................ 67
12.1 极限参数 ............................................................................................................................................... 67
评论0