SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
The interrupt vector is 43h.
Bit 7 Bit 6 Bit 5 Bit 4
The relevant registers of the PWM function
Mnemonic
Description
Dir.
Bit 3
Bit 2
Bit 1
Bit 0
RST
PWM Address
Register
PWM Data
Register
PWMADDR
PWMDATA
A2h
PWMADDR[7:0]
PWMDATA[7:0]
00H
00H
A3h
ACh
PWM
EXT
ADC
ADC Control 2
Register
ADCC2
Start Adjust Trigge Trigge
ADCCH[2:0]
00H
MODE
rEN
rEN
PWM
PWM Time Base
Control 0
Register
PWM Time Base
Control 1
Register
PWMTBPRE[1: PWMTBMOD[1
PWMTBC0
PWMTBC1
F9h
FAh
FBh
FCh
-
-
00H
00H
00H
00H
0]
:0]
PW
MTB
EN
SEVT PWMP
-
IE
IE
PWM
OP3
PWM PWM
OP2M OP1M
PWM
OP0
PWM Output Pair
Mode Register
PWMOPMOD
MOD
OD
OD
MOD
Time Base
Counter
(Low)
TBCOUNTER
L
Time Base Counter Low 8 bit
Time Base
Counter
(High)
PWM Period
(Low) Register
PWM
Period(High)
Register
TBCOUNTER
H
FDh
F1h
F2h
-
-
Time Base Counter High 6 bit
PWM Period Low 8 bit
00H
FFH
3FH
PERIODL
PERIODH
PWM Period High 6 bit
Special Event
Compare Low
Register
Special Event
Compare High
Register
SEVTCMPL
SEVTCMPH
F3h
F4h
Special Event Compare Low 8 bit
FFH
3FH
-
Special Event Compare High 6 bit
PWM PWM
PW
M7
EN
PWM Output
Enable Register
PWM6 PWM5 PWM4 PWM3
PWM0
EN
PWMEN
F5h
EDh
EEh
2
EN
1
EN
00H
00H
00H
EN
EN
EN
EN
PWM Special
Event Register
PWM Time Base
Post Scale
SEVT
DIR
OSYN
C
PWMSEV
SEVPOST[3:0]
-
UDIS
PWMTBPOST
SCALE
PWMTBPOST[7:0]
-
Register
PW
MTB
DIR
PWM Interrupt
Flag Register
SEVT PWMP
IF IF
PWMINTF
BCh
00H
Dead Time 0
Register
Dead Time 1
Register
Dead Time 2
Register
DEADTIME0
DEADTIME1
DEADTIME2
E9h
EAh
EBh
DT0PRE[1:0]
DT1PRE[1:0]
DT2PRE[1:0]
DT0[5:0]
00H
00H
00H
DT1[5:0]
DT2[5:0]
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071 Ver A SM59A16U1 04/12/2013
- 82 -