Pwc Data Buffer Register (Pwc0/Pwc1) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

16.4.2

PWC Data Buffer Register (PWC0/PWC1)

The PWC data buffer register (PWC0/PWC1) has functions that depend on the operation
mode of the PWC timer.
■ PWC Data Buffer Register (PWC0/PWC1)
PWC data buffer register (Upper)
Address: ch.0 00000B
ch.1 00002B
Read/write
Initial value
PWC data buffer register (Lower)
Address: ch.0 00000A
ch.1 00002A
Read/write
Initial value
Timer mode
In the reload timer operation mode (PWCSL0/PWCSL1:S/C = 1), this register contains the reload value.
The register can be read or written.
In the single timer operation mode (PWCSL0/PWCSL1:S/C = 0), direct access to this register accesses the
up-count timer. In this mode, this register can be read or written. However, the register is written only
when the timer stops. The register can always be read and the current timer value is read.
Pulse-width measurement mode (read-only)
In the continuous measurement mode (PWCSL0/PWCSL1:S/C = 1), this register functions as the buffer
register and contains the previous count result. This register is read-only. Writing to this register has no effect.
In the single measurement mode (PWCSL0/PWCSL1:S/C = 0), direct access to this register accesses the up-
count timer. In this mode, the register is also read-only. Writing to this register has no effect. The register can
always be read and the current timer value is read. After the count, the register contains the count results.
Notes:
• To access this register, always use the word transfer instruction.
• After reset, this register is initialized to "0000
Figure 16.4-4 PWC Data Buffer Register (PWC0/PWC1)
bit
15
14
13
H
PW15
PW14
PW13
H
R/W
R/W
R/W
X
X
X
bit
7
6
5
H
PW07
PW06
PW05
H
R/W
R/W
R/W
X
X
12
11
10
PW12
PW11 PW10
R/W
R/W
R/W
X
X
X
4
3
2
PW04
PW03 PW02
R/W
R/W
R/W
X
X
X
X
".
H
CHAPTER 16 PWC Timer
9
8
PW09
PW08
PWC0,PWC1
R/W
R/W
X
X
1
0
PW01
PW00
PWC0,PWC1
R/W
R/W
X
X
443

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents