beautypg.com

6 ptmr: ppg timer register – FUJITSU MB91460 SERIES FR60 User Manual

Page 823

background image

807

Chapter 39 Programmable Pulse Generator

4.Registers

4.6 PTMR: PPG Timer Register

Reads the counts of PPG0-PPG3, PPG4-PPG7, PPG8-PPG11 and PPG12-PPG15.

• PTMR00 (PPG0): Address 0110h (Access:

Half-word

)

• PTMR01 (PPG1): Address 0118h (Access:

Half-word

)

• PTMR02 (PPG2): Address 0120h (Access:

Half-word

)

• PTMR03 (PPG3): Address 0128h (Access:

Half-word

)

• PTMR04 (PPG4): Address 0130h (Access:

Half-word

)

• PTMR05 (PPG5): Address 0138h (Access:

Half-word

)

• PTMR06 (PPG6): Address 0140h (Access:

Half-word

)

• PTMR07 (PPG7): Address 0148h (Access:

Half-word

)

• PTMR08 (PPG8): Address 0150h (Access:

Half-word

)

• PTMR09 (PPG9): Address 0158h (Access:

Half-word

)

• PTMR10 (PPG10): Address 0160h (Access:

Half-word

)

• PTMR11 (PPG11): Address 0168h (Access:

Half-word

)

• PTMR12 (PPG12): Address 0330h (Access:

Half-word

)

• PTMR13 (PPG13): Address 0338h (Access:

Half-word

)

• PTMR14 (PPG14): Address 0340h (Access:

Half-word

)

• PTMR15 (PPG15): Address 0348h (Access:

Half-word

)

(See “

Meaning of Bit Attribute Symbols (Page No.10)

” for details of the attributes.)

• The count of the 16-bit down counter can be read.

• Be sure to access the PPG Timer register PTMR in half words (16 bits).

• The register would not be read correctly if it is byte-accessed.

15

14

13

12

11

10

9

8

Bit

D15

D14

D13

D12

D11

D10

D9

D8

1

1

1

1

1

1

1

1

Initial value

R/WX

R/WX

R/WX

R/WX

R/WX

R/WX

R/WX

R/WX

Attribute

7

6

5

4

3

2

1

0

Bit

D7

D6

D5

D4

D3

D2

D1

D0

1

1

1

1

1

1

1

1

Initial value

R/WX

R/WX

R/WX

R/WX

R/WX

R/WX

R/WX

R/WX

Attribute