TTK4155 Ping-pong project
joystick_driver.c File Reference
#include "general_header.h"
#include "ADC_driver.h"
#include "button_driver.h"
#include "uart_driver.h"
#include "sram_driver.h"
#include "joystick_driver.h"
#include "oled_driver.h"
Include dependency graph for joystick_driver.c:

Functions

void calibrate_joystick_state (struct joystick_calibration_data_t *cal_data)
 
int joystick_read (struct joystick_calibration_data_t *cal_data, int dir)
 

Detailed Description

Joystick driver file.

Function Documentation

◆ calibrate_joystick_state()

void calibrate_joystick_state ( struct joystick_calibration_data_t cal_data)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ joystick_read()

int joystick_read ( struct joystick_calibration_data_t cal_data,
int  dir 
)
Here is the call graph for this function:
Here is the caller graph for this function: