Rainbow Electronics W79E8213R User Manual
Page 35

Preliminary W79E8213/W79E8213R Data Sheet
Publication Release Date: July 11, 2008
- 35 -
Revision A2
Brake Condition Table:
BPEN BKCH
BRAKE
CONDITION
0 0
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.
0 1
Brake On;
This condition is when BKEN set (BKEN=1) and PWM is not running
(PWMRUN=0), the PWMn output follows PWMnB setting. When the brake is
released (by disabling BKEN = 0), the PWMn output resumes to the state when
PWM generator stop running prior to enabling the brake.
Brake Off;
This condition is when PWM is running (PWMRUN=1).
1 0
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.
1 1
This is another brake condition (by Brake Pin) which causes BKF to be set, but
PWM generator continues to run. The PWM output does not follow PWMnB,
instead it output continuously as per normal.
ACCUMULATOR
Bit:
7 6 5 4 3 2 1 0
ACC.7 ACC.6 ACC.5 ACC.4 ACC.3 ACC.2 ACC.1 ACC.0
Mnemonic: ACC
Address: E0h
BIT NAME FUNCTION
7-0
ACC.[7:0] The A or ACC register is the standard 8052 accumulator
ADC CONTROL REGISTER
Bit:
7 6 5 4 3 2 1 0
ADC.1 ADC.0 ADCEX
ADCI ADCS RCCLK
AADR1
AADR0
Mnemonic: ADCCON
Address: E1h