Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
input_paw32xx.h File Reference

Go to the source code of this file.

Functions

int paw32xx_set_resolution (const struct device *dev, uint16_t res_cpi)
 Set resolution on a paw32xx device.
 
int paw32xx_force_awake (const struct device *dev, bool enable)
 Set force awake mode on a paw32xx device.
 

Function Documentation

◆ paw32xx_force_awake()

int paw32xx_force_awake ( const struct device dev,
bool  enable 
)

Set force awake mode on a paw32xx device.

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

◆ paw32xx_set_resolution()

int paw32xx_set_resolution ( const struct device dev,
uint16_t  res_cpi 
)

Set resolution on a paw32xx device.

Parameters
devpaw32xx device.
res_cpiCPI resolution, 200 to 3200.