Touchpad driver API.
More...
Touchpad driver API.
| ret_code_t drv_touchpad_disable |
( |
void |
| ) |
|
Disable touchpad to manage power consumption.
- Returns
- NRF_SUCCESS If the disable request was scheduled, otherwise an error code.
| ret_code_t drv_touchpad_enable |
( |
void |
| ) |
|
Enable touchpad to manage power consumption.
- Returns
- NRF_SUCCESS If the enable request was scheduled, otherwise an error code.
Touchpad driver initialization.
- Parameters
-
| [in] | read_handler | Callback function for a data ready event. |
- Returns
- Return values
-
| NRF_SUCCESS | |
| NRF_ERROR_INTERNAL | Bus error. |
Schedule a touchpad read.
- Parameters
-
| [in] | p_data | Pointer to the touchpad output data. |
- Returns
- NRF_SUCCESS If the read operation was scheduled, otherwise an error code.