EasyManua.ls Logo

Infineon ERU Interrupt 1 - Implementation Steps and ISR

Infineon ERU Interrupt 1
10 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Implementation
To generate an interrupt via a falling and rising edges on an input pin a few
configuration steps are required:
Initialize external request pin (IfxScuEru_initReqPin())
Select which edge should trigger the interrupt
(IfxScuEru_enableRisingEdgeDetection() and/or
IfxScuEru_enableFallingEdgeDetection())
Enable generation of trigger events with the function
IfxScuEru_enableTriggerPulse()
Choose the output channel by selecting the Output Gating Unit (OGUz) and the
trigger pulse output (TRxz)
An event from the Event Trigger Logic (ETL0) triggers the OGU0 (signal
TRx0). The function IfxScuEru_connectTrigger() determines the output
channel for the trigger event
Select the condition to generate an interrupt with the function
IfxScuEru_setInterruptGatingPattern()
Configure and enable the service request with the functions IfxSrc_init() and
IfxSrc_enable()
The functions above are provided by the iLLD headers IfxScuEru.h and IfxSrc.h.
5
2019-10-17 Copyright © Infineon Technologies AG 2019. All rights reserved.

Related product manuals