SM39A16M1
8-Bit Micro-controller
16KB with ISP Flash
& 1K+256B RAM embedded
13.1.5 PWMSEV (PWM Special Event)
Mnemonic: PWMSEV
Address: EDh
7
6
5
4
3
2
-
1
0
Reset
00H
SEVPOST[3:0]
SEVTDIR
UDIS
OSYNC
SEVPOST Special Event Postscale Set (How many PWM period happen will a triger need)
SEVPOST [3:0] 0000 = 1:1 Postscale
SEVPOST [3:0] 0001 = 1:2 Postscale
:
:
SEVPOST [3:0] 1111 = 1:16 Postscale
SEVTDIR Special event trigger time base direction
SEVTDIR = 0 - PWM time base is counting upwards.
SEVTDIR = 1 - PWM time base is counting downwards.
UDIS PWM update disable. ( This bit affects PERIOD, DUTY, SEVTCMP;
OVRIDEDIS, OVRIDEDATA)
UDIS = 0 - update from duty cycle and period buffer are Enable
UDIS = 1 - update from duty cycle and period buffer are Disable
OSYNC PWM output override synchronization
OSYNC = 0 - Output overrides via the OVRIDEDIS register are asynchronous.
OSYNC = 1 - Output overrides via the OVRIDEDIS register are synchronized to the
PWM time base.
Mnemonic: PWMTBPOSTSCALE
Address: EEh
0 Reset
7
6
5
4
3
2
1
PWMTBPOST [7:0]
00H
PWMTBPOST[7:0] PWM Time Base Post Scale. (How many PWM period happen will a triger need)
0000_0000 = 1: 1 Postscale
0000_0001 = 1: 2 Postscale
:
:
0000_1111 = 1: 16 Postscale
0001_0000 = 1: 17 Postscale
:
:
1111_1111 = 1: 256 Postscale
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M069
Ver C SM39A16M1 7/31/2013
- 71 -