SN8P1600
8-bit micro-controller
TC1R AUTO-LOAD REGISTER .............................................................................................................. 59
TC1 TIMER COUNTER OPERATION SEQUENCE ............................................................................... 60
TC1 CLOCK FREQUENCY OUTPUT (BUZZER) .................................................................................. 62
PWM FUNCTION DESCRIPTION (SN8P1604 ONLY) ............................................................................. 63
OVERVIEW .............................................................................................................................................. 63
PWM PROGRAM DESCRIPTION........................................................................................................... 64
9
INTERRUPT................................................................................................................................... 65
OVERVIEW................................................................................................................................................. 65
INTEN INTERRUPT ENABLE REGISTER .............................................................................................. 66
INTRQ INTERRUPT REQUEST REGISTER............................................................................................ 66
INTERRUPT OPERATION DESCRIPTION.............................................................................................. 67
GIE GLOBAL INTERRUPT OPERATION............................................................................................... 67
INT0 (P0.0) INTERRUPT OPERATION.................................................................................................. 68
TC0/TC1 INTERRUPT OPERATION ...................................................................................................... 69
MULTI-INTERRUPT OPERATION......................................................................................................... 70
10
I/O PORT ............................................................................................................................ 71
OVERVIEW................................................................................................................................................. 71
I/O PORT FUNCTION TABLE................................................................................................................... 72
I/O PORT MODE......................................................................................................................................... 73
I/O PORT DATA REGISTER ..................................................................................................................... 74
11
EXTERNAL RESET CIRCUIT........................................................................................ 76
SN8P1602 EXTERNAL RESET CIRCUIT EXAMPLE ......................................................................................... 76
SN8P1603 EXTERNAL RESET CIRCUIT EXAMPLE ......................................................................................... 77
12
CODING ISSUE ................................................................................................................. 79
SONiX TECHNOLOGY CO., LTD
Page 6
Revision 1.94