Panasonic F77G User Manual page 236

Microcomputer mn101c series
Table of Contents

Advertisement

Chapter 6 8-bit Timers
Setup Procedure
(7) Enable the interrupt.
TM0ICR (x'3FE9')
bp1
(8) Start the event counting.
TM0MD (x'3F54')
bp3
Every time TM0BC detects the falling edge of TM0IO input , TM0BC counts up from 'x00'. When
TM0BC reaches the setting value of theTM0OC register, the timer 0 interrupt request flag is set at
the next count clock, then the value of TM0BC becomes x'00' and counting up is restarted.
VI - 22
8-bit Event Count
:TM0IE
= 1
:TM0EN
= 1
Description
(7) Set the TM0IE flag of the TM0ICR register to
"1" to enable the interrupt.
(8)
Set the TM0EN flag of the TM0MD register to 1
to start timer 0.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Panaxseries mn101c77cPanaxseries mn101f77g

Table of Contents