LCOV - code coverage report
Current view: top level - zephyr/input - input_pat912x.h Coverage Total Hit
Test: new.info Lines: 100.0 % 2 2
Test Date: 2025-09-05 20:47:19

            Line data    Source code
       1            1 : /*
       2              :  * Copyright 2024 Google LLC
       3              :  *
       4              :  * SPDX-License-Identifier: Apache-2.0
       5              :  */
       6              : 
       7              : /**
       8              :  * @file
       9              :  * @brief Header file for PAT912x input driver.
      10              :  * @ingroup pat912x_interface
      11              :  */
      12              : 
      13              : #ifndef ZEPHYR_INCLUDE_INPUT_PAT912X_H_
      14              : #define ZEPHYR_INCLUDE_INPUT_PAT912X_H_
      15              : 
      16              : /**
      17              :  * @defgroup pat912x_interface PAT912x
      18              :  * @ingroup input_interface_ext
      19              :  * @brief PAT912x Miniature Optical Navigation Chip
      20              :  * @{
      21              :  */
      22              : 
      23              : /**
      24              :  * @brief Set resolution on a pat912x device
      25              :  *
      26              :  * @param dev pat912x device.
      27              :  * @param res_x_cpi CPI resolution for the X axis, 0 to 1275, -1 to keep the
      28              :  * current value.
      29              :  * @param res_y_cpi CPI resolution for the Y axis, 0 to 1275, -1 to keep the
      30              :  * current value.
      31              :  */
      32            1 : int pat912x_set_resolution(const struct device *dev,
      33              :                            int16_t res_x_cpi, int16_t res_y_cpi);
      34              : 
      35              : /** @} */
      36              : 
      37              : #endif /* ZEPHYR_INCLUDE_INPUT_PAT912X_H_ */
        

Generated by: LCOV version 2.0-1