RETI                Return from a TML interrupt service routine (ISR)

Syntax                        

RETI

RETurn from a TML Interrupt function

Operands

PlaceTML

Binary code

DescriptionEnds the execution of a TML ISR and returns to the TML command whose execution was postponed by the TML interrupt. RETI globally enables the TML interrupts which were globally disabled when the TML interrupt was accepted and the ISR was called.

 

Example        

Int5_WrapAround:         // Int5 ISR: position wraparound

AXISOFF;

RETI;                 // return from TML ISR