iLLD_TC27xD
1.0
|
For Aurix controller peripherals that can generate service requests is connected to one or more Service Request Nodes (SRNs) in the central Interrupt Router(IR) module. Refer to Controller User Manual for more details
IfxSrc driver provides the APIs to configure and control service requests. Refer How to use Service Request Mechanism? for details of these APIs.
Service request node is initialized to configure the following,
1) Route the interrupt trigger to service provider, which are:
__a. One of the available CPUs or
__b. DMA controller
2) Priority of CPU Interrupt or DMA Trigger.
For Interrupt or DMA to be correctly triggered, following steps are to be done in the user code:
User must configure the service request node in the application / driver files.
Enable the service request node to connect the trigger event from the hardware to service provider.
Example: Following example show the configuration for STM0 Service request 0 trigger configured to trigger CPU1 with the priority specified by IFX_INTPRIO_STM0 (from the example at IfxCpu_Irq)