English
Language : 

W79E217A Datasheet, PDF (52/207 Pages) Winbond – 8-bit Microcontroller
Preliminary W79E217A Data Sheet
TIMER 2 LSB
Bit:
7
6
5
4
3
2
1
0
TL2.7
TL2.6
TL2.5
TL2.4
TL2.3
TL2.2
TL2.1
TL2.0
Mnemonic: TL2
TL2
Timer 2 LSB
Address: CCh
TIMER 2 MSB
Bit:
7
6
5
4
3
2
1
0
TH2.7
TH2.6
TH2.5
TH2.4
TH2.3
TH2.2
TH2.1
TH2.0
Mnemonic: TH2
TH2
Timer 2 MSB
Address: CDh
PWM CONTROL REGISTER 2
Bit:
7
6
5
4
3
2
1
0
BKCH
BKPS
BPEN BKEN
FP1
FP0
PMOD1 PMOD0
Mnemonic: PWMCON2
Address: CEh
BIT NAME
7 BKCH
FUNCTION
See table below for BKCH settings.
6 BKPS
Select which brake condition triggers brake flag. LSBD bit is described in SFR
FSPLT.
BKPS LSBD Description
0
0 0 = Brake is asserted if P1.1 is low.
1
0 1 = Brake is asserted if P1.1 is high
x
1 Low level smart brake detector.
5 BPEN
See table below for BPEN settings.
4 BKEN
0 = The Brake is never asserted.
1 = The Brake is enabled.
Select PWM frequency prescaler select bits. The clock source of prescaler,
Fpwm is in phase with Fosc if PWMRUN=1.
FP[1:0] Fpwm
3-2 FP[1:0]
00
FOSC
01
FOSC /2
10
FOSC /4
11 FOSC /16
PWM Mode selects bits:
PMOD[1:0] Description
1-0 PMOD[1:0]
00
Edge-aligned mode. (up counter)
01
Single-shot mode. (up counter)
10
Center aligned mode (up-down counter)
11
Reserved
- 52 -
Publication Release Date: December 14, 2007
Revision A3.0