Process data gathered by the interrupt handler
static int pulse( message_context_t *pContext, int code, unsigned flags, void *data );
This function processes data gathered by the interrupt handler. It's called by the Input Runtime System on receiving a pulse or proxy associated with this callback.
This function should handle the condition being signalled by the pulse. At some application-determined point, it should call the output module's input() callback.
The arguments are:
EOK
See device/uart.c.
Your code
Safety: | |
---|---|
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |