Zephyr API Documentation  3.6.0
A Scalable Open Source RTOS
3.6.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
analog_axis_calibration Struct Reference

Analog axis calibration data structure. More...

#include <input_analog_axis.h>

Data Fields

int16_t in_min
 Input value that corresponds to the minimum output value.
 
int16_t in_max
 Input value that corresponds to the maximum output value.
 
uint16_t out_deadzone
 Output value deadzone relative to the output range.
 

Detailed Description

Analog axis calibration data structure.

Holds the calibration data for a single analog axis. Initial values are set from the devicetree and can be changed by the applicatoin in runtime using analog_axis_calibration_set and analog_axis_calibration_get.

Field Documentation

◆ in_max

int16_t analog_axis_calibration::in_max

Input value that corresponds to the maximum output value.

◆ in_min

int16_t analog_axis_calibration::in_min

Input value that corresponds to the minimum output value.

◆ out_deadzone

uint16_t analog_axis_calibration::out_deadzone

Output value deadzone relative to the output range.


The documentation for this struct was generated from the following file: