Pwc Data Buffer Register (Pwcr) - Fujitsu MB90335 Series Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 13 PWC TIMER
13.2 Register of PWC Timer
13.2.2

PWC Data Buffer Register (PWCR)

Configuration and function of PWC data buffer register (PWCR) are described.
■ PWC Data Buffer Register (PWCR)
Figure 13.2-3 shows the bit configuration of PWC data buffer register (PWCR).
Figure 13.2-3 Bit Configuration of PWC Data Buffer Register (PWCR)
bit
00005F
H
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
bit
00005E
H
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
R/W : Readable/Writable
The function of PWC data buffer register (PWCR) varies in between the timer mode and the pulse width
setting mode that are set by the PWCSR register bit2 to bit0 (MOD2 to MOD0).
In the timer mode (read/write enabled)
Becomes the reload register that holds the reload data when the reload timer operates (PWCSR bit3: S/C =
1). It is reading/writing in this case, it is possible in both writing.
Becomes a direct access to the up count timer in the one-shot timer operation mode (PWCSR bit3: S/C =
0). Perform the write operation when the timer stops although either read or write is possible also in this
case. Reading is always enabled to read the timer value in the count operation.
In the pulse width measurement mode (read only enabled)
Becomes the buffer register that holds the previous measurement result in the continuous measurement
mode (PWCSR bit3: S/C = 1).
In this case, the read only is enabled and no register value will be changed even when writing.
Becomes a direct access to the up count timer in the single mode (PWCSR bit3: S/C = 0).
Also in this case, the read only is enabled and no register value will be changed even when writing.
Reading is anytime enabled to obtain the timer value during the count operation. When the measurement is
finished, the measured value is held.
Note:
Please access the PWCR register by word move operation. Be initialized to "00
298
15
14
13
12
D15
D14
D13
D12
7
6
5
4
D7
D6
D5
D4
FUJITSU MICROELECTRONICS LIMITED
11
10
9
8
D11
D10
D9
D8
3
2
1
0
D3
D2
D1
D0
MB90335 Series
PWCR
PWC data buffer register
Initial value 00000000
B
PWCR
PWC data buffer register
Initial value 00000000
B
" when resetting.
B
CM44-10137-6E

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents