Pass data to a lower-layer module
static int output( input_module_t *pModule, void *ptr, int num );
This function is used to pass data to a lower-layer module. It's called by an output module at arbitrary points in execution.
This function should:
Or
EOK
See device/uart.c.
Your code
Safety: | |
---|---|
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |