| Philips Semiconductors | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | User’s Manual - Preliminary - | ||||
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| RESET | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | P89LPC906/907/908 | ||||
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| RSTSRC | 
 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 
 | 
 | ||
| Address: DFH | 
 | 
 | 
 | ||||||||||
| Not bit addressable | 
 | - | - | 
 | BOF | POF | R_BK | R_WD | R_SF | R_EX | 
 | ||
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | ||
| Reset Sources:  | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | |
| Reset Value: xx110000B (This is the  | 
 | 
 | 
 | ||||||||||
| BIT | SYMBOL | FUNCTION | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | |
| - | Reserved for future use. Should not be set to 1 by user programs. | 
 | 
 | 
 | |||||||||
| RSTSRC.5 | BOF | Brownout Detect Flag. When Brownout Detect is activated, this bit is set. It will remain set | |||||||||||
| 
 | 
 | until cleared by software by writing a ’0’ to the bit. (Note: On a  | |||||||||||
| 
 | 
 | and this bit will be set while the other flag bits are cleared.) | 
 | 
 | 
 | 
 | |||||||
| RSTSRC.4 | POF | ||||||||||||
| 
 | 
 | an initial  | |||||||||||
| 
 | 
 | writing a ’0’ to the bit.. (Note: On a  | |||||||||||
| 
 | 
 | the other flag bits are cleared.) | 
 | 
 | 
 | 
 | 
 | 
 | 
 | ||||
| RSTSRC.3 | R_BK | Break detect reset. If a break detect occurs and EBRR (AUXR1.6) is set to ’1’, a system | |||||||||||
| 
 | 
 | reset will occur. This bit is set to indicate that the system reset is caused by a break detect. | |||||||||||
| 
 | 
 | Cleared by software | by writing a ’0’ to the bit or on a  | ||||||||||
| RSTSRC.2 | R_WD | Watchdog Timer reset flag. Cleared by software by writing a ’0’ to the bit or a  | |||||||||||
| 
 | 
 | reset.(NOTE: UCFG1.7 must be = 1). | 
 | 
 | 
 | 
 | 
 | 
 | |||||
| RSTSRC.1 | R_SF | Software reset Flag. Cleared by software by writing a ’0’ to the bit or a  | |||||||||||
| RSTSRC.0 | R_EX | External reset Flag. When this bit is ’1’, it indicates external pin reset. Cleared by software | |||||||||||
| 
 | 
 | by writing a ’0’ to the bit or a  | |||||||||||
| 
 | 
 | reset is over, R_EX will be set. | 
 | 
 | 
 | 
 | 
 | 
 | 
 | ||||
| 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
Figure 9-2:  Reset Sources Register
| 2003 Dec 8 | 72 |