Interrupts Of 16-Bit I/O Timer - Fujitsu F2MCTM-16LX Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

13.4

Interrupts of 16-bit I/O Timer

The interrupt factors of the 16-bit I/O timer has overflow of the counter value in the 16-
bit free-run timer, trigger edge input to the input capture input pin, and trigger edge
input for the LIN slave baud rate measurement from the LIN-UART.
2
The EI
OS can be started by the interrupt of the input capture.
Interrupts of 16-bit I/O Timer
Table 13.4-1 shows interrupt control bits and interrupt factors of 16-bit I/O timer.
Table 13.4-1 Interrupts of 16-bit I/O Timer
Interrupt request flag
Interrupt request output enable bit
Interrupt factor
Timer counter overflow interrupt
When the timer overflow interrupt request is set:
The timer overflow generation flag of the timer control status register is set in the following cases
(TCCSL:IVF=1).
• When overflow ("FFFF
When the timer overflow interrupt request occurs:
When the timer overflow interrupt request is set to enable (TCCSL:IVFE=1) if the timer overflow
generation flag is set to "1" (TCCSL:IVF=1), the interrupt request is generated.
Input capture Interrupt
When the valid edge set by the input capture pin (ICS:EG) is detected, or when the trigger edge for the LIN
slave baud rate measurement from the LIN-UART is inputted (valid edge must be set to both edges), the
interrupt is shown below.
• The counter value of the detected 16-bit free-run timer is stored to the input capture register.
• The valid edge detection flag of the input capture control status register is set to "1". (ICS: ICP=1)
• When the output of the input capture interrupt request is set to enable (ICS: ICE=1), the interrupt
request is generated.
Timer counter overflow interrupt
TCCSL: IVF
TCCSL: IVFE
Counter overflow of 16-bit free-run
timer
" → "0000
") occurs at counting up of the 16-bit free-run timer.
H
H
CHAPTER 13 16-Bit I/O TIMER
Input capture interrupt
ICSnm: ICPn, ICPm
ICSnm: ICEn, ICEm
Valid edge input to the input capture
input pin and trigger edge input for the
LIN slave baud rate measurement
from the LIN-UART
n = 0, 2 m = n+1
227

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90360 series

Table of Contents