English
Language : 

W79E225A Datasheet, PDF (54/200 Pages) Winbond – 8-bit Microcontroller
Preliminary W79E225A/227A Data Sheet
BIT NAME
7-0 RCAP2H
FUNCTION
Timer 2 Capture HSB: This register is used to capture the TH2 value when a
timer 2 is configured in capture mode. RCAP2H is also used as the HSB of a 16
bit reload value when timer 2 is configured in auto reload mode.
TIMER 2 LSB
Bit:
7
TL2.7
6
TL2.6
5
TL2.5
4
TL2.4
3
TL2.3
2
TL2.2
1
TL2.1
0
TL2.0
Mnemonic: TL2
TL2
Timer 2 LSB
Address: CCh
TIMER 2 MSB
Bit:
7
TH2.7
6
TH2.6
5
TH2.5
4
TH2.4
3
TH2.3
2
TH2.2
1
TH2.1
0
TH2.0
Mnemonic: TH2
TH2
Timer 2 MSB
PWM CONTROL REGISTER 2
Bit:
7
6
BKCH
BKPS
5
BPEN
4
BKEN
Address: CDh
3
FP1
2
FP0
1
0
PMOD1 PMOD0
Mnemonic: PWMCON2
BIT NAME
7 BKCH
FUNCTION
See table below for BKCH settings.
Address: CEh
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
4 BKEN
BIT NAME
3-2 FP[1:0]
See table below for BPEN settings.
0 = The Brake is never asserted.
1 = The Brake is enabled.
FUNCTION
Select PWM frequency prescaler select bits. The clock source of prescaler,
Fpwm is in phase with Fosc if PWMRUN=1.
FP[1:0] Fpwm
00
FOSC
01
FOSC /2
10
FOSC /4
11 FOSC /16
- 54 -
Publication Release Date: December 14, 2007
Revision A2.0