beautypg.com

7 capture data registers h and l (tcph and tcpl), Capture data registers h and l (tcph and tcpl) – FUJITSU F2MC-8L F202RA User Manual

Page 198

background image

182

CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER

8.4.7

Capture Data Registers H and L (TCPH and TCPL)

The capture data register H (TCPH) stores the number of events of the higher 8 bits in
the 16-bit capture mode of the 8/16-bit capture timer/counter.
The capture data register L (TCPL) stores the number of events in the 8-bit capture
mode of the 8/16-bit capture timer/counter or the number of events of the lower 8 bits in
the 16-bit capture mode.
In the read operation in the timer/counter mode, counter values are read.

Capture Data Registers H and L (TCPH and TCPL)

The number of events detected in the capture mode is stored in TCPH and TCPL. Data cannot be written to

these registers because the registers are read-only.

Figure 8.4-8 shows the bit structures of capture data registers H and L.

Figure 8.4-8 Bit Structures of Capture Data Registers H and L (TCPH and TCPL)

bit7

bit6

bit5

bit4

bit3

bit2

bit1

bit0

TCPH

R

R

R

R

R

R

R

R

TCPL

R

R

R

R

R

R

R

R

R

: Read only

X

: Undefined

Address

Initial value

001E

H

XXXXXXXX

B

001F

H

XXXXXXXX

B

This manual is related to the following products: