SN8P2714X_2715
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 6
V1.4
9.4
P0.0
INTERRUPT
TRIGGER
EDGE
CONTROL
REGISTER ................................................ 81
9.5
INTERRUPT
OPERATION
DESCRIPTION........................................................................... 82
9.5.1 GIE GLOBAL INTERRUPT OPERATION ...................................................................... 82
9.5.2 INT0 (P0.0) INTERRUPT OPERATION ......................................................................... 83
9.5.3 INT1 (P0.1) INTERRUPT OPERATION ......................................................................... 83
9.5.4 TC0 INTERRUPT OPERATION ..................................................................................... 85
9.5.5 TC1 INTERRUPT OPERATION ..................................................................................... 86
9.5.6 MULTI-INTERRUPT OPERATION ................................................................................. 87
10 I/O PORT................................................................................................................................... 89
10.1
OVERVIEW......................................................................................................................... 89
10.2
I/O
PORT
FUNCTION
TABLE ............................................................................................. 90
10.3
PULL-UP
RESISTERS ........................................................................................................ 91
10.4
I/O
PORT
DATA
REGISTER ............................................................................................... 94
11 8-CHANNEL ANALOG TO DIGITAL CONVERTER................................................................. 96
11.1
OVERVIEW......................................................................................................................... 96
11.2
ADM
REGISTER ................................................................................................................. 97
11.3
ADR
REGISTERS ............................................................................................................... 97
11.4
ADB
REGISTERS ............................................................................................................... 97
11.5
P4CON
REGISTERS .......................................................................................................... 98
11.6
ADC
CONVERTING
TIME................................................................................................... 99
11.7
ADC
CIRCUIT ................................................................................................................... 100
12 7-BIT DIGITAL TO ANALOG CONVERTER .......................................................................... 101
12.1
OVERVIEW....................................................................................................................... 101
12.2
DAM
REGISTER ............................................................................................................... 102
12.3
D/A
CONVERTER
OPERATION ....................................................................................... 102
13 CODING ISSUE ...................................................................................................................... 103
13.1
TEMPLATE
CODE ............................................................................................................ 103
13.2
PROGRAM
CHECK
LIST .................................................................................................. 107
14 INSTRUCTION SET TABLE ................................................................................................... 108
15 ELECTRICAL CHARACTERISTIC ......................................................................................... 109
15.1
ABSOLUTE
MAXIMUM
RATING....................................................................................... 109
15.2
STANDARD
ELECTRICAL
CHARACTERISTIC................................................................ 109
15.3
CHARACTERISTIC
GRAPHS ........................................................................................... 110
16 DEVELOPMENT TOOLS ........................................................................................................ 114
16.1
D
EVELOPMENT
T
OOL
V
ERSION
............................................................................................. 114