Input API Reference

The Input DDK includes the following interface functions:

Function Summary
begin() Initialize resource manager and activate driver bus line
buff_append() Append bytes to circular buffer
buff_create() Create a circular buffer
buff_delete() Delete bytes from circular buffer
buff_flush() Clear the circular buffer
buff_getc() Get character from circular buffer
buff_putc() Place character on circular buffer
buff_waiting() Determine the number of bytes stored in circular buffer
clk_get() Get the time from the OS Process Manager
devi_enqueue_packet() Dispatch a completed packet
devi_register_interrupt() Attach to an interrupt
devi_register_pulse() Associate a pulse code with a function
devi_register_timer() Create a timer
devi_request_iorange() Map device registers into memory