Download AVIX User Guide & Reference Guide

Transcript
AVIX User Guide & Reference Guide
AVIX-RT
avixMsg_Free
void avixMsg_Free
(
tavixMsgId msgId
);
avixMain
Thread
√
DIH27
√
ISR
>> function overview
Description
When a thread has ownership of a message and does no longer need it, the message can be
placed in the AVIX message pool through this function. After doing so, the message is available for
other threads to be allocated. After freeing a message the thread is no longer allowed to access the
message. Attempts to do so will result in an error.
Parameters and return value
Parameter
msgId
Description
Id of a message
Return value
<none>
27
Although a DIH can use this function, it is unlikely to happen since this function typically is used with a
message that has been received. Since a DIH can not receive messages a DIH can only use this function on
messages obtained through avixMsg_Allocate.
AVIX
Product Version 5.0.0
- 183 -