Pass data to a higher-layer module
static int input( input_module_t *pModule, int num, void *ptr );
This function is used to pass data to a higher-layer module. It's called by another module from either its input() or pulse() callback.
This function should process num elements of data located at ptr.
EOK
See protocol/msoft.c.
Your code
Safety: | |
---|---|
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |