|
|
Software Interrupt Function. Rises a software interrupt. The software interrupt handler will be executed as soon as possible. See above for a detailed description. - Parameters:
-
| intno | number of the interrupt to rise. Must be in the range of 0 to POSCFG_SOFTINTERRUPTS - 1. |
| param | optional parameter that will be passed to the software interrupt handler funtion. |
- Note:
- POSCFG_FEATURE_SOFTINTS must be defined to 1 to have software interrupt support compiled in.
If a software interrupt is triggered from inside the pico]OS scope, usually from application level, it is recommended to do a call to posTaskYield after this function is called. This will immediately start the interrupt handler.
- See also:
- posSoftIntSetHandler, posSoftIntDelHandler, POSCFG_SOFTINTQUEUELEN
|