16- Bit Ppg Down Counter Registers (Pdcrh0, Pdcrl0) - Fujitsu F2MC-8FX Hardware Manual

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

Advertisement

CHAPTER 17 16-BIT PPG TIMER
17.5.1

16- bit PPG Down Counter Registers (PDCRH0, PDCRL0)

The 16-bit PPG down counter registers (PDCRH0, PDCRL0) form a 16-bit register which
is used to read the count value from the 16-bit PPG down-counter.
16-bit PPG Down Counter Registers (PDCRH0, PDCRL0)
Figure 17.5-2 16-bit PPG Down Counter Registers (PDCRH0, PDCRL0)
16-bit PPG down counter register (upper) PDCRH0
Address
0FAA
PDCRH0
H
16-bit PPG down counter register (lower) PDCRL0
Address
0FAB
PDCRL0
H
R/WX: Read only (Readable, writing has no effect on operation)
These registers form a 16-bit register which is used to read the count value from the 16-bit down-counter.
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 PDCRH0 register address).
• Use the "MOV" instruction and read PDCRH0 first and PDCRL0 second (reading PDCRH0
automatically copies the lower 8 bits of the down-counter to PDCRL0).
These registers are read-only and writing has no effect on the operation.
Note:
If you use the "MOV" instruction and read PDCRL0 before PDCRH0, PDCRL0 will return the value
from the previous valid read operation. Therefore, the value of the 16-bit down-counter will not be
read correctly.
284
bit7
bit6
bit5
DC15
DC14
DC13
DC12
R/WX
R/WX
R/WX
R/WX
bit7
bit6
bit5
DC07
DC06
DC05
DC04
R/WX
R/WX
R/WX
R/WX
bit4
bit3
bit2
bit1
DC11
DC10
DC09
R/WX
R/WX
R/WX
bit4
bit3
bit2
bit1
DC03
DC02
DC01
R/WX
R/WX
R/WX
bit0
Initial value
DC08
00000000
B
R/WX
bit0
Initial value
DC00
00000000
B
R/WX

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents