Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/input/api/pulse.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/input/api/pulse.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/input/api/pulse.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/input/api/pulse.html on line 8
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:
- pContext
- Pointer to message context structure.
- code
- Value that you specify as the third parameter of the devi_register_interrupt() call.
- flags
- This parameter isn't used.
- data
- Pointer to module descriptor.
EOK
See device/uart.c.
Your code
Safety: | |
Interrupt handler |
Yes |
Signal handler |
Yes |
Thread |
Yes |
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/input/api/pulse.html on line 118
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/input/api/pulse.html on line 118