MB95630H Series
MN702-00009-1v0-E
FUJITSU SEMICONDUCTOR LIMITED
345
CHAPTER 19 16-BIT PPG TIMER
19.7 Registers
19.7.1
16-bit PPG Downcounter Register (Upper/Lower)
(PDCRHn/PDCRLn)
The 16-bit PPG downcounter register (upper) (PDCRHn) and the 16-bit PPG
downcounter register (lower) (PDCRLn) form a 16-bit register that is used to
read the count value from the 16-bit PPG downcounter.
■
Register Configuration
■
Register Functions
These registers form a 16-bit register that is used to read the count value from the 16-bit
downcounter. The initial values of the register are all "0".
Always use one of the following procedures to read from this register.
•
Use the "MOVW" instruction (use a 16-bit access instruction to read the PDCRHn register
address).
•
Use the "MOV" instruction and read PDCRHn first and then PDCRLn (reading PDCRHn
automatically copies the lower 8 bits of the downcounter to PDCRLn).
This register is read-only and writing a value to this register has no effect on the operation.
Note:
If you use the "MOV" instruction and read PDCRLn before PDCRHn, PDCRLn returns the
value from the previous valid read operation. Therefore, the value of the 16-bit
downcounter cannot be read correctly.
PDCRHn
bit
7
6
5
4
3
2
1
0
Field
DC15
DC14
DC13
DC12
DC11
DC10
DC09
DC08
Attribute
R
R
R
R
R
R
R
R
Initial value
0
0
0
0
0
0
0
0
PDCRLn
bit
7
6
5
4
3
2
1
0
Field
DC07
DC06
DC05
DC04
DC03
DC02
DC01
DC00
Attribute
R
R
R
R
R
R
R
R
Initial value
0
0
0
0
0
0
0
0