SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
PWMTBMOD [1:0] = 11 - continuous up/down counting with interrupt for double PWM
updates.
Minimum PWM Frequencies Example: Fosc= 24MHz, PERIOD = 0x3FFFh
Prescale
1:1
1:4
1:16
1:64
PWM Frequency Edge-align
PWM Frequency center-align
1500 Hz
375 Hz
94 Hz
750 Hz
188 Hz
47 Hz
23 Hz
12 Hz
13.3
PWM Time Base Control 1( PWMTBC1 )
Mnemonic: PWMTBC1
Address: FAh
7
6
5
4
3
2
1
0
Reset
00H
PWMTBEN
-
SEVTIE PWMPIE
PWMTBEN PWM Time Base Enable
0 = PWM Time Base Disable
1 = PWM Time Base Enable
SEVTIE: Special Event Interrupt Enable
SEVTIE = 0 - Special Event Interrupt Disable
SEVTIE = 1 - Special Event Interrupt Enable
PWMPIE: PWM Period Interrupt Enable
PWMPIE = 0 - PWM Period Interrupt Diable
PWMPIE = 1 - PWM Period Interrupt Enable
13.4
PWM Output Pair Mode( PWMOPMOD )
Mnemonic: PWMOPMOD
Address: FBh
7
6
5
4
3
2
1
0
Reset
-
PWMOP3MOD PWMOP2MOD PWMOP1MOD PWMOP0MOD 00H
PWMOP3MOD PWM Output Pair 3 Mode
0 = (PWM6, PWM7) is complementary mode
1 = (PWM6, PWM7) is independent mode
PWMOP2MOD PWM Output Pair 2 Mode
0 = (PWM4, PWM5) is complementary mode
1 = (PWM4, PWM5) is independent mode
PWMOP1MOD PWM Output Pair 1 Mode
0 = (PWM2, PWM3) is complementary mode
1 = (PWM2, PWM3) is independent mode
PWMOP0MOD PWM Output Pair 0 Mode
0 = (PWM0, PWM1) is complementary mode
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071 Ver A SM59A16U1 04/12/2013
- 85 -