Ext-Interrupt .C - Fujitsu F2MC-8FX Series Application Note

Hide thumbs Also See for F2MC-8FX Series:
Table of Contents

Advertisement

4.2.3 Ext-interrupt .c

In this function, external interrupt registers are initialized.
Following table describes the external interrupt library.
Function Name
void EXT_Init(void)
__interrupt void INTER_EXT (void)
Following table describes the function EXT_Init.
Function name
Function prototype
Behavior description
Input parameter
Return value
Example
Following table describes the function INTER_EXT.
Function name
Function prototype
Behavior description
Input parameter
Return value
Interrupt Level
Example
MB2146-460-E Setup Guide V1.2
Chapter 4 Sample Code Manual
void EXT_Init(void)
Initialize external interrupt module
None
None
Set external channel to INT04, falling edge trigger and enable interrupt:
EXT_Init();
__interrupt void INTER_EXT(void)
Indicate the send key pressed
None
None
IRQ0: external interrupt ch0 | ch4
Be used in file vectors:
__interrupt void INTER_EXT(void);
MCU-AN-500083-E-12 – Page 29
Description
Initialize external interrupt
Capture falling edge and generate interrupt
EXT_Init
INTER_EXT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95350l seriesMb2146-460-e

Table of Contents