Fujitsu MB90460 Series Hardware Manual page 350

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

Figure 14.6-9 Zero Detect Interrupt masked in Up-down Count Mode
Counter value
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Reset
Compare clear interrupt
TCCSH:MSI2:0=000
Zero
detect
TCCSH:MSI2:0=001
interrupt
TCCSH:MSI2:0=010
* Both zero detect interrupt and compare clear interrupt are software cleared
■ External Count Clock Selected
The 16-bit free-run timer is incremented based on the input clock (internal or external clock). When
external clock is selected, the 16-bit free-run timer counts up at a rising edge when the initial value of
external input is "1" or at a falling edge when initial value of external clock input is "0" after external clock
mode is selected (TCCSH:ECKE=1).
φ
External clock
input
TCCSH:ECKE
Count clock
Counter value
1st
2nd
Timer starts
1st
Software
clear
B
B
B
Figure 14.6-10 16-bit Free-run Timer Count Timing
CHAPTER 14 MULTI-FUNCTIONAL TIMER
Compare clear match
3rd
4th
3rd
2nd
Zero detect
N
5th
6th
4th
5th
6th
N+1
Time
331

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents