AIROC™ BTSDK v4.6 - Documentation | ||||
Functions | |
void | scroll_turnOff (void) |
Defines a scroll driver that uses the quadrature HW. More... | |
void | scroll_turnOn (void) |
Turn on scroll HW. More... | |
void | scroll_registerForInterrupt (void(*userfn)(void *), void *userdata) |
Register a thread context interrupt handler. More... | |
INT16 | scroll_getCount (void) |
Gets the current count of the scroll wheel. More... | |
void | scroll_init (void) |
INT16 scroll_getCount | ( | void | ) |
Gets the current count of the scroll wheel.
void scroll_registerForInterrupt | ( | void(*)(void *) | userfn, |
void * | userdata | ||
) |
Register a thread context interrupt handler.
userfn | Pointer to the callback function to be invoked. |
userdata | Pointer to a context that is passed into callback when the interrupt occurs. |
void scroll_turnOff | ( | void | ) |
Defines a scroll driver that uses the quadrature HW.
Turn off scroll HW. This is used when entering power-off mode (software or low battery).
void scroll_turnOn | ( | void | ) |
Turn on scroll HW.
This is used when exiting power-off mode (software or low battery).