Interrupt Sources; Example Of Using The Frt; Notes On Use - Hitachi SH7095 Hardware User Manual

Table of Contents

Advertisement

enable or disable the interrupt bits. Each is sent to the interrupt controller independently. See
section 4, Exception Processing, for more information about priorities and the relationship to
interrupts other than those of the FRT.
Table 11.3 FRT Interrupt Sources and Priorities
Interrupt Source
ICI
OCIA, OCIB
OVI
11.6

Example of Using the FRT

Figure 11.13 illustrates an example of outputting a pulse with 50% duty at any phase differential.
It is set as follows:
1.
Set the CCLRA bit of the FTCSR to 1.
2.
OLVLA and OLVLB bits are inverted by software whenever a compare match occurs.
11.7

Notes on Use

Be aware that the following contention and operations occur when the FRT is operating:
Description
Interrupt by ICF
Interrupt by OCFA or OCFB
Interrupt by OVF
Figure 11.13 Example of Pulse Output
Priority
Highest
Middle
Lowest
Hitachi 303

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents