Watch Prescaler Control Register (Wpcr) - Fujitsu F2MC-8FX Hardware Manual

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

CHAPTER 13 WATCH PRESCALER
13.3.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.
Watch Prescaler Control Register (WPCR)
Address
bit7
000B
WTIF
H
R(RM1),W
R(RM1),W : Readable/writable (Read value is different from write value, "1" is read by read-modfy-write instruction)
R/W
: Readable/writable (Read value is the same as write value)
R0/WX
: Undefined bit (Read value is "0", writting has no effect on operation)
R0,W
: Write only (Writable, "0" is read)
-
: Not used
: Initial value
196
Figure 13.3-2 Watch Prescaler Control Register (WPCR)
bit6
bit5
bit4
WTIE
-
-
R/W
R0/WX
R0/WX
WCLR
0
1
WTC1 WTC0
0
0
1
1
WTIE
0
1
WTIF
0
1
bit3
bit2
bit1
-
WTC1
WTC0
R0/WX
R/W
R/W
Watch timer initialization bit
Read
"0" is always read
-
Watch interrupt interval timer time select bit
(Subclock F
CL
0
1
0
1
Interrupt request enable bit
Disables interrupt request output
Enables interrupt request output
Watch interrupt request flag bit
Read
Interval time has
not elapsed
Interval time has
elapsed
Initial value
bit0
WCLR
00000000
B
R0,W
Write
No change,
No effect on operation
Clears watch prescaler
counter
= 32.768kHz)
× 2/F
11
2
(125ms)
CL
× 2/F
2
12
(250ms)
CL
× 2/F
13
2
(500ms)
CL
× 2/F
2
(1.00s)
14
CL
Write
Clears the bit
No change,
No effect on operation

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents