TTK4155 Lab Node 1
Term project in the NTNU course TTK4155 Embedded and Industrial Computer Systems Design
Loading...
Searching...
No Matches
io_joystick_device Struct Reference

Represents a joystick input device. More...

#include <io.h>

Data Fields

unsigned int adc_channel_x
unsigned int adc_channel_y
int x_min
int y_min
int x_max
int y_max

Detailed Description

Represents a joystick input device.

Definition at line 55 of file io.h.

Field Documentation

◆ adc_channel_x

unsigned int io_joystick_device::adc_channel_x

ADC channel for X-axis

Definition at line 56 of file io.h.

Referenced by io_joystick_read_position(), and utils_joystick_print_raw().

◆ adc_channel_y

unsigned int io_joystick_device::adc_channel_y

ADC channel for Y-axis

Definition at line 57 of file io.h.

Referenced by io_joystick_read_position(), and utils_joystick_print_raw().

◆ x_max

int io_joystick_device::x_max

Maximum X raw value

Definition at line 62 of file io.h.

Referenced by io_joystick_read_position().

◆ x_min

int io_joystick_device::x_min

Minimum X raw value

Definition at line 60 of file io.h.

Referenced by io_joystick_read_position().

◆ y_max

int io_joystick_device::y_max

Maximum Y raw value

Definition at line 63 of file io.h.

Referenced by io_joystick_read_position().

◆ y_min

int io_joystick_device::y_min

Minimum Y raw value

Definition at line 61 of file io.h.

Referenced by io_joystick_read_position().


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