Interrupts Of 16-Bit Input/Output Timer - Fujitsu MB90895 Series Hardware Manual

16 bit, controller manual
Table of Contents

Advertisement

CHAPTER 7 16-bit I/O timer
7.4

Interrupts of 16-bit Input/Output Timer

The interrupt factors of the 16-bit input/output timer include an overflow in the 16-bit
free-run timer and edge detection by the input capture.Interrupt generation starts EI
I Interrupt Control Bits and Interrupt Factors of 16-bit Input/Output Timer
Table 7.4-1 shows interrupt control bits and interrupt factors of 16-bit input/output timer.
Table 7.4-1 Interrupt Control Bits and Interrupt Factors of 16-bit Input/Output Timer
Interrupt
Name
Interrupt
Factor
Interrupt
request flag
bit
Interrupt
enable bit
G
16-bit free-run timer interrupt
• When the count value of the timer counter data register (TCDT) increments from "FFFF
an overflow occurs and the overflow generation flag bit (TCCS: IVF) is also set to 1.
• When an overflow occurs (TCCS: IVF = 1) with an overflow interrupt enabled (TCCS: IVFE = 1), an
overflow interrupt request is generated.
G
Input Capture Interrupt
• When the valid edge selected by the input capture edge select bit (ICS: EG) is detected, the input
capture interrupt request flag bits (ICS01, ICS23: ICP1, ICP0) corresponding to the input pins (IN0 to
IN3) are set to 1.
• When the valid edge is detected by the input captures corresponding to the input pins (IN0 to IN3) with
the input capture interrupts corresponding to the input pins (IN0 to IN3) enabled, an input capture
interrupt is generated.
I Correspondence between 16-bit Input/Output Timer Interrupt and EI
For details of the interrupt number, interrupt control register, and interrupt vector address, see 3.5 Interrupt.
I 16-bit Input/Output Timer Interrupt and EI
The 16-bit I/O timer corresponds to the EI
2
EI
OS.However, it is necessary to disable generation of interrupt requests by peripherals sharing the
interrupt control register.
236
Overflow interrupt
Overflow in counter
Valid edge input to input pins (IN0 to IN3) of input capture
value of 16-bit free-
run timer
TCCS: IVF
ICS01:ICP0
TCCS: IVFE
ICS01:ICE0
Input Capture Interrupt
IN0
IN1
ICS01:ICP1
ICS23:ICP0
ICS01:ICE1
ICS23:ICE0
2
OS function
2
OS function. Generation of an enabled interrupt factor starts the
IN2
IN3
ICS23:ICP1
ICS23:ICf
" to "0000
H
2
OS
2
OS.
",
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents