Links <link.h>

Top  Previous  Next

Dragons003The link functions are obsolete. They have been replaced with channel functions operating on ports connected directly to links. link.h has been retained for backwards compatibility only and will be removed in future versions of Diamond.

 

These functions allow a Diamond program to access the physical interprocessor links directly. On certain boards, this may allow you to exchange raw data with external hardware devices. These functions should only ever reference links that are not mentioned in the configuration file. You should not use the link functions for normal communication between tasks on different processors. Instead, the program should use the channel communication functions. See links and channels for more about links and channels.

 


link_in

input a message from a link


link_in_word

input a 32-bit word from a link


link_out

output a message to a link


link_out_word

output a 32-bit word to a link