reset()

Reset the module to its initial state

Synopsis:

static int reset( input_module_t *pModule );

Description:

This function resets the module to its initial state. It's called by the Input Runtime System at startup. The module has already been linked into an event bus line by the time this function is called.

If your module includes an interrupt handler, reset() should call devi_register_pulse() and store the pulse code it returns in the module's private data.

Returns:

EOK

Examples:

See any module.

Classification:

Your code

Safety:
Interrupt handler Yes
Signal handler Yes
Thread Yes