Watch Prescaler Control Register (Wpcr) - Fujitsu MB95630H Series Hardware Manual

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

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
bit
7
Field
WTIF
Attribute
R/W
Initial value
0
■ 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".
bit7
Reading "0"
Reading "1"
Writing "0"
Writing "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.
bit6
Writing "0"
Writing "1"
[bit5:4] Undefined bits
Their read values are always "0". Writing values to these bits has no effect on operation.
120
6
5
WTIE
R/W
0
0
Indicates that the interval time has not elapsed.
Indicates that the interval time has elapsed.
Clears this bit.
Has no effect on operation.
Disables the watch prescaler interrupt request.
Enables the watch prescaler interrupt request.
FUJITSU SEMICONDUCTOR LIMITED
4
3
WTC2
WTC1
R/W
R/W
0
0
Details
Details
MB95630H Series
2
1
WTC0
WCLR
R/W
0
0
MN702-00009-1v0-E
0
W
0

Advertisement

Table of Contents
loading

Table of Contents