Panasonic F77G, MN101C77C user manual TM7EN

Models: F77G MN101C77C

1 544
Download 544 pages 59.61 Kb
Page 293
Image 293

Chapter 7 16-bit Timer

Setup Procedure

 

Description

 

 

 

(7) Start the timer operation.

 

(7) Set the TM7EN flag of the TM7MD1 register to

TM7MD1 (x'3F78')

 

"1" to start timer 7.

bp4

: TM7EN

= 1

 

 

 

 

 

TM7BC counts up from x'0000'. If any data is written to the port 6 output register (P6OUT), TM7BC reaches the set value of TM7OC1 register and the synchronous output pin outputs data of port 7 in every time an interrupt request is generated.

Write to preset register should be done while timer is stopped or within timer interrupt pro- cessing.

And use MOVW instruction for write to preset register.

16-bit Timer Synchronous Output VII - 33

Page 293
Image 293
Panasonic F77G, MN101C77C user manual TM7EN