MidiReadSync


The MidiReadSync function reads and sets to NIL a memory address. This function is none-interruptable in order to make easier communication between the application tasks that run at interrupt level. It can be used to implement some sort of "mail boxes" in conjunction of MidiWriteSync.

pascal void*    MidiReadSync( void* adrMem) ;

adrMem
the address of a variable containing a 32-bit data.

The result is the content of the variable.

Once read, the content of the variable is set to NIL.


Example to be supplied.