input()

Pass data to a higher-layer module

Synopsis:

static int input( input_module_t *pModule,
                  int num,
                  void *ptr );

Description:

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.

Returns:

EOK

Examples:

See protocol/msoft.c.

Classification:

Your code

Safety:
Interrupt handler Yes
Signal handler Yes
Thread Yes