MB95630H Series
120 FUJITSU SEMICONDUCTOR LIMITED MN702-00009-2v0-E
CHAPTER 9 WATCH PRESCALER
9.5 Register
9.5.1 Watch Prescaler Control Register (WPCR)
The watch prescaler control register (WPCR) is a register used to select the
interval time, clear the counter, control interrupts and check the status of the
watch prescaler.
â– Register Configuration
â– Register Functions
[bit7] WTIF: Watch prescaler interrupt request flag bit
This bit is set to "1" when the interval time selected by the watch prescaler has elapsed.
When this bit and the watch prescaler interrupt request enable bit (WTIE) are set to "1", a watch prescaler
interrupt request is output.
When read by the read-modify-write (RMW) type of instruction, this bit always returns "1".
[bit6] WTIE: Watch prescaler interrupt request enable bit
This bit enables or disables output of interrupt requests to interrupt controller.
When this bit and the watch prescaler interrupt request flag bit (WTIF) are set to "1", a watch prescaler
interrupt request is output.
[bit5:4] Undefined bits
Their read values are always "0". Writing values to these bits has no effect on operation.
bit 7 6 5 4 3 2 1 0
Field WTIF WTIE — — WTC2 WTC1 WTC0 WCLR
Attribute R/W R/W — — R/W R/W R/W W
Initial value 0 0 0 0 0 0 0 0
bit7 Details
Reading "0" Indicates that the interval time has not elapsed.
Reading "1" Indicates that the interval time has elapsed.
Writing "0" Clears this bit.
Writing "1" Has no effect on operation.
bit6 Details
Writing "0" Disables the watch prescaler interrupt request.
Writing "1" Enables the watch prescaler interrupt request.