Implementation
Configure the Interrupt Service Routine (ISR)
The function implementing the ISR needs to be assigned a
priority
and a
core
responsible for its execution.
This is done with the macro
IFX_INTERRUPT(isr, vectabNum, priority)
.
Since the Shell uses the ASCLIN module to interface with the user, three ISR are needed to be configured for
transmission, reception and error events.
Each of the ISR should call the handler for the respective operation (transmit, receive or error) by passing the
ASC handle.
8
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.