SN8P2714X_2715
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 5
V1.4
7.1.5 External RC Oscillator Frequency Measurement............................................................ 51
7.2
INTERNAL
LOW-SPEED
OSCILLATOR............................................................................... 52
7.3
SYSTEM
MODE
DESCRIPTION........................................................................................... 53
7.3.1 OVERVIEW .................................................................................................................... 53
7.3.2 NORMAL MODE ............................................................................................................ 53
7.3.3 SLOW MODE ................................................................................................................. 53
7.3.4 POWER DOWN (SLEEP) MODE ................................................................................... 53
7.4
SYSTEM
MODE
CONTROL.................................................................................................. 54
7.4.1 SN8P2710 SYSTEM MODE BLOCK DIAGRAM ............................................................ 54
7.4.2 SYSTEM MODE SWITCHING ....................................................................................... 55
7.5
WAKEUP
TIME ..................................................................................................................... 56
7.5.1 OVERVIEW .................................................................................................................... 56
7.5.2 HARDWARE WAKEUP .................................................................................................. 56
8 TIMERS COUNTERS .................................................................................................................. 57
8.1
WATCHDOG
TIMER
(WDT).................................................................................................. 57
8.2
TIMER
COUNTER
0
(TC0).................................................................................................... 58
8.2.1 OVERVIEW .................................................................................................................... 58
8.2.2 TC0M MODE REGISTER............................................................................................... 59
8.2.3 TC0C COUNTING REGISTER....................................................................................... 61
8.2.4 TC0R AUTO-LOAD REGISTER ..................................................................................... 63
8.2.5 TC0 TIMER COUNTER OPERATION SEQUENCE....................................................... 64
8.2.6 TC0 CLOCK FREQUENCY OUTPUT (BUZZER)........................................................... 66
8.3
TIMER
COUNTER
1
(TC1).................................................................................................... 67
8.3.1 OVERVIEW .................................................................................................................... 67
8.3.2 TC1M MODE REGISTER............................................................................................... 68
8.3.3 TC1C COUNTING REGISTER....................................................................................... 70
8.3.4 TC1R AUTO-LOAD REGISTER ..................................................................................... 72
8.3.5 TC1 TIMER COUNTER OPERATION SEQUENCE....................................................... 73
8.3.6 TC1 CLOCK FREQUENCY OUTPUT (BUZZER)........................................................... 75
8.4
PWM
FUNCTION
DESCRIPTION ......................................................................................... 76
8.4.1 OVERVIEW .................................................................................................................... 76
8.4.2 PWM PROGRAM DESCRIPTION.................................................................................. 77
8.4.3 PWM Duty with TCxR changing ..................................................................................... 78
8.4.4 TCxIRQ and PWM Duty ................................................................................................. 79
9 INTERRUPT ................................................................................................................................ 80
9.1
OVERVIEW........................................................................................................................... 80
9.2
INTEN
INTERRUPT
ENABLE
REGISTER ............................................................................ 80
9.3
INTRQ
INTERRUPT
REQUEST
REGISTER......................................................................... 81