English
Language : 

W79E825A Datasheet, PDF (43/127 Pages) Winbond – 8-BIT MICROCONTROLLER
W79E825A/824A/823B/822B Data Sheet
BIT NAME
7 BKCH
6 BKPS
5 BPEN
4 BKEN
3 PWM3B
2 PWM2B
1 PWM1B
0 PWM0B
FUNCTION
See the below table, when BKEN is set.
0: Brake is asserted if P0.2 is low.
1: Brake is asserted if P0.2 is high
See the below table, when BKEN is set.
0: The Brake is never asserted.
1: The Brake is enabled, and see the below table.
0: The PWM3 output is low, when Brake is asserted.
1: The PWM3 output is high, when Brake is asserted.
0: The PWM2 output is low, when Brake is asserted.
1: The PWM2 output is high, when Brake is asserted.
0: The PWM1 output is low, when Brake is asserted.
1: The PWM1 output is high, when Brake is asserted.
0: The PWM0 output is low, when Brake is asserted.
1: The PWM0 output is high, when Brake is asserted.
BPEN
0
0
1
1
BKCH
0
1
0
1
Brake Condition Table:
BRAKE CONDITION
Brake On (software brake and keeping brake).
Software brake condition. When active (BPEN=BKCH=0, and BKEN=1), PWM
output follows PWMnB setting. This brake has no effect on PWMRUN bit,
therefore, internal PWM generator continues to run. When the brake is released,
the state of PWM output depends on the current state of PWM generator output
during the release.
Brake On, when PWM is not running (PWMRUN=0), the PWM output condition
follows PWMnB setting.
When the brake is released (by disabling BKEN = 0), the PWM output resumes
to the state when PWM generator stop running prior to enabling the brake.
Brake Off, when PWM is running (PWMRUN=1).
Brake On, when Brake Pin asserted.
External pin brake condition. When active (by external pin), PWM output follows
PWMnB setting, PWMRUN will be cleared by hardware, and BKF flag will be set.
When the brake is released (by de-asserting the external pin and disabling
BKEN = 0), the PWM output resumes to the state of the PWM generator output
prior to the brake.
No any active.
ACCUMULATOR
Bit: 7
6
ACC.7
ACC.6
Mnemonic: ACC
5
ACC.5
4
ACC.4
3
ACC.3
2
ACC.2
1
0
ACC.1
ACC.0
Address: E0h
- 43 -
Publication Release Date: February 21, 2008
Revision A9