Home
last modified time | relevance | path

Searched refs:burst_data (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/input/
Dinput_pmw3610.c195 uint8_t burst_data[BURST_DATA_LEN_MAX]; in pmw3610_motion_work_handler() local
206 ret = pmw3610_read(dev, PMW3610_BURST_READ, burst_data, burst_data_len); in pmw3610_motion_work_handler()
211 if ((burst_data[BURST_MOTION] & MOTION_STATUS_MOTION) == 0x00) { in pmw3610_motion_work_handler()
215 x = ((burst_data[BURST_DELTA_XY_H] << 4) & 0xf00) | burst_data[BURST_DELTA_X_L]; in pmw3610_motion_work_handler()
216 y = ((burst_data[BURST_DELTA_XY_H] << 8) & 0xf00) | burst_data[BURST_DELTA_Y_L]; in pmw3610_motion_work_handler()
225 uint16_t shutter_val = sys_get_be16(&burst_data[BURST_SHUTTER_HI]); in pmw3610_motion_work_handler()