Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
input_pmw3610.h File Reference

Go to the source code of this file.

Functions

int pmw3610_set_resolution (const struct device *dev, uint16_t res_cpi)
 Set resolution on a pmw3610 device.
 
int pmw3610_force_awake (const struct device *dev, bool enable)
 Set force awake mode on a pmw3610 device.
 

Function Documentation

◆ pmw3610_force_awake()

int pmw3610_force_awake ( const struct device * dev,
bool enable )

Set force awake mode on a pmw3610 device.

Parameters
devpmw3610 device.
enablewhether to enable or disable force awake mode.

◆ pmw3610_set_resolution()

int pmw3610_set_resolution ( const struct device * dev,
uint16_t res_cpi )

Set resolution on a pmw3610 device.

Parameters
devpmw3610 device.
res_cpiCPI resolution, 200 to 3200.