CO_SIGNAL_POST


 co_error co_signal_post(co_signal signal,                         int32 value); 

Header File

co.h

Description

This function posts a message (a 32-bit value) on a signal. This function must be called from within a process run function.

Arguments

The arguments for co_signal_post are as follows:

co_signal signal

A pointer to a signal as passed on the process argument list.

int32 value

The 32-bit integer value to be posted.


Return Value

Returns co_err_none on success or co_err_unknown if there was an error during desktop simulation.

Notes

The co_signal_post function is nonblocking and overwrites any message that is already pending on the signal.



    Practical FPGA Programming in C
    Practical FPGA Programming in C
    ISBN: 0131543180
    EAN: 2147483647
    Year: 2005
    Pages: 208

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net