SN8P2604
8-Bit Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 6
Version 1.1
8.3.7
TC1 TIMER NOTICE ............................................................................................................... 84
8.4 PWM1
MODE .................................................................................................................................. 85
8.4.1
OVERVIEW .............................................................................................................................. 85
8.4.2
TC1IRQ AND PWM DUTY ...................................................................................................... 86
8.4.3
PWM PROGRAM EXAMPLE .................................................................................................. 87
8.4.4
PWM1 DUTY CHANGING NOTICE ....................................................................................... 88
9
9
9
INSTRUCTION TABLE ............................................................................................................... 90
1
1
1
0
0
0
ELECTRICAL CHARACTERISTIC .................................................................................. 91
10.1
ABSOLUTE MAXIMUM RATING................................................................................................ 91
10.2 ELECTRICAL
CHARACTERISTIC .............................................................................................. 91
1
1
1
1
1
1
APPLICATION NOTICE ..................................................................................................... 92
11.1 D
EVELOPMENT
T
OOL
V
ERSION
......................................................................................................... 92
11.1.1
ICE (In circuit emulation) ........................................................................................................ 92
11.1.2
OTP Writer ............................................................................................................................... 92
11.1.3
SN8IDE..................................................................................................................................... 92
11.2 CODE
OPTION................................................................................................................................ 93
11.2.1
FCPU CODE OPTION ............................................................................................................ 93
11.2.2
NOISE FILTER CODE OPTION ............................................................................................. 93
11.2.3
WATCHDOG ............................................................................................................................ 93
11.3
INTERRUPT VECTOR (ORG 8) .................................................................................................... 94
11.4 INSTRUCTION................................................................................................................................ 95
11.4.1
B0MOV M,I .............................................................................................................................. 95
11.4.2
B0XCH A, M ............................................................................................................................. 95
11.5
S8KD-2 ICE ENULATION ............................................................................................................. 96
11.5.1
ICE_MODE .............................................................................................................................. 96
11.5.2
INSTRUCTION CYCLE............................................................................................................ 97
11.5.3
SYSTEM CLOCK...................................................................................................................... 99
11.5.4
WATCHDOG TIMER ............................................................................................................. 100
11.5.5
P0 EMULATION .................................................................................................................... 101
11.5.5.1 @P00_MODE,
@P01_MODE....................................................................................... 101
11.5.5.2 @P00_OUT,
@P01_OUT .............................................................................................. 102