English
Language : 

SM59R16A5 Datasheet, PDF (57/89 Pages) SyncMOS Technologies,Inc – Two serial peripheral interfaces in full duplex mode
SM59R16A5/SM59R09A5/SM59R05A5
8-Bit Micro-controller
64KB/36KB/20KB with ISP Flash
& 2KB RAM embedded
13. Pulse Width Modulation (PWM)
SM59R16A5 provides four-channel PWM outputs.
The interrupt vector is 43h.
Mnemonic
Description
AUX
PWMC
PWMD0H
PWMD0L
PWMD1H
PWMD1L
PWMD2H
PWMD2L
PWMD3H
PWMD3L
PWMMDH
PWMMDL
Auxiliary register
PWM Control
register
PWM 0 Data
register high byte
PWM 0 Data
register low byte
PWM 1 Data
register high byte
PWM 1 Data
register low byte
PWM 2 Data
register high byte
PWM 2 Data
register low byte
PWM 3 Data
register high byte
PWM 3 Data
register low byte
PWM Max Data
register high byte
PWM Max Data
register low byte
Direct
91h
Bit 7
BRGS
Bit 6
-
Bit 5
-
P4SPI
B5h
PWMCS[2:0]
BCh PWMP0 -
-
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
P4UR
1
-
P4IIC
P0KBI
P2PW
M
DPS
PWM3E PWM2E PWM1E PWM0E
N
N
N
N
-
-
-
PWMD0[9:8]
RESET
00H
00H
00H
BDh
PWMD0[7:0]
00H
BEh PWMP1 -
-
-
-
-
PWMD1[9:8]
00H
BFh
PWMD1[7:0]
00H
B1h PWMP2 -
-
-
-
-
PWMD2[9:8]
00H
B2h
PWMD2[7:0]
00H
B3h PWMP3 -
-
-
-
-
PWMD3[9:8]
00H
B4h
PWMD3[7:0]
00H
CEh
-
-
-
-
-
-
PWMMD[9:8]
00H
CFh
PWMMD[7:0]
FFH
Mnemonic: AUX
7
6
5
BRGS
-
P4SPI
4
P4UR1
3
P4IIC
2
1
P0KBI P2PWM
Address: 91h
0 Reset
DPS 00H
P2PWM : P2PWM = 0 – PWM function on P4.
P2PWM = 1 – PWM function on P2.
Mnemonic: PWMC
7
6
5
PWMCS[2:0]
Address: B5h
4
3
2
1
0
Reset
- PWM3EN PWM2EN PWM1EN PWM0EN 00H
PWMCS[2:0]: PWM clock select.
PWMCS [2:0]
Mode
000
Fosc
001
Fosc/2
010
Fosc/4
011
Fosc/6
100
Fosc/8
101
Fosc/12
110
Timer 0 overflow
111
Timer 0 external input (P3.4/T0)
PWM3EN: PWM channel 3 enable control bit.
PWM3EN = 1 – PWM channel 3 enable.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M047
57
Ver.H SM59R16A5 04/2015