Panasonic F77G User Manual page 278

Microcomputer mn101c series
Table of Contents

Advertisement

Chapter 7 16-bit Timer
Setup Procedure
(6) Set the interrupt level.
TM7ICR (x'3FF1')
bp7-6
(7) Enable the interrupt.
TM7ICR (x'3FF1')
bp1
(8) Start the event count.
TM7MD1 (x'3F78')
bp4
Every time TM7BC detects the falling edge of the TM7IO input, TM7BC counts up from x'0000'.
When the TM7BC reaches the setting value of the TM7OC1 register, the timer 7 interrupt request
flag is set at the next count clock, then the value of TM7BC becomes x'0000' and counting up is
restarted.
VII - 18
16-bit Event Count
:TM7LV1-0 = 10
: TM7IE
= 1
: TM7EN
= 1
Description
(6) Set the interrupt level by the TM7LV1-0 flag of
the timer 7 interrupt control register (TM7ICR).
If any interrupt request flag may be already set,
clear those request flags.
[
Chapter 3 3-1-4. Interrupt Flag Setup ]
(7) Set the TM7IE flag of the TM7ICR register to
"1" to enable interrupt.
(8) Set the TM7EN flag of the TM7MD 1 register to
"1" to start timer 7.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Panaxseries mn101c77cPanaxseries mn101f77g

Table of Contents