![background image](http://html.mh-extra.com/html/fujitsu/fr60lite/fr60lite_hardware-manual_119677201.webp)
186
CHAPTER 10 PWC (Pulse Width Count: Pulse Width Measurement)
10.3
Register of PWC
This section describes the PWC registers.
■
PWCSR Register (PWC Control/Status Register)
[bit15] STRT: Counter start bit
[bit14] STOP: Counter stop bit
The bits start/restart/stop the 16-bit up counter, and indicate the counter operation status at reading. The
following shows the bit functions.
1. Function at writing (operation control)
*:The clear bit instruction is usable.
2. Function at reading (operating status indication)
•
Initialized to "00
B
" when resetting.
•
The read / write is possible. However, there are different meanings in writing and in reading as shown
above.
Bit15
S
TRT
Bit14
S
TOP
Bit1
3
EDIR
Bit12
EDIE
Bit11
OVIR
Bit10
OVIE
Bit9
ERR
Bit
8
-
ch0:0000E0
H
ch1:0000E4
H
PWC
S
R0/PWC
S
R1 (Upper)
R/W
(0)
R/W
(0)
R
(0)
R/W
(0)
R/W
(0)
R/W
(0)
R
(0)
-
(0)
Re
a
d/Write
→
Initi
a
l v
a
l
u
e
→
PWC
S
R0/PWC
S
R1 (Lower)
ch0:0000E1
H
ch1:0000E5
H
Bit7
CK
S
1
Bit6
CK
S
0
Bit5
PI
S
1
Bit4
PI
S
0
Bit
3
S
C
Bit2
MOD2
Bit1
MOD1
Bit0
MOD0
R/W
(0)
R/W
(0)
R/W
(0)
R/W
(0)
R/W
(0)
R/W
(0)
R/W
(0)
R/W
(0)
Re
a
d/Write
→
Initi
a
l v
a
l
u
e
→
STRT
STOP
Operation Control Functions
0
0
The influence is not in the function / the operation.
0
1
Start/restart a counter (counter enable) *
1
0
Stop a counter operation forcibly (disable count) *
1
1
The influence is not in the function / the operation.
STRT
STOP
Display of Operation Status
0
0
Count stopped (not started or measurement completed) [Initial value]
1
1
Count operating (measuring)
Summary of Contents for FR60Lite
Page 3: ......
Page 5: ......
Page 115: ...100 CHAPTER 3 CPU AND CONTROL UNITS ...
Page 127: ...112 CHAPTER 4 I O PORTS ...
Page 143: ...128 CHAPTER 5 INTERRUPT CONTROLLER ...
Page 155: ...140 CHAPTER 6 EXTERNAL INTERRUPT AND NMI CONTROLLER ...
Page 197: ...182 CHAPTER 9 PPG Programmable Pulse Generator ...
Page 337: ...322 CHAPTER 13 UART ...
Page 417: ...402 CHAPTER 16 DMAC DMA Controller ...
Page 445: ...430 CHAPTER 17 FLASH MEMORY ...
Page 451: ...436 CHAPTER 18 SERIAL PROGRAMMING CONNECTION ...
Page 493: ...478 APPENDIX F Precautions on Handling ...
Page 494: ...479 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 507: ...492 INDEX ...
Page 509: ......