PER Firmware
Loading...
Searching...
No Matches
vcu.h File Reference
#include <stdint.h>
Include dependency graph for vcu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VCU_STRING   "vcu"
 
#define VCU_MODE_BUTTON   "mode"
 
#define LATERAL_GAIN_BUTTON   "lat"
 
#define LONG_GAIN_BUTTON   "long"
 
#define EBB_BUTTON   "ebb"
 
#define REGEN_BUTTON   "regen"
 
#define TV_BUTTON   "tv"
 
#define LEFT_WHEEL_BUTTON   "left"
 
#define RIGHT_WHEEL_BUTTON   "right"
 

Enumerations

enum  vcu_binding_t : uint8_t { VCU_BINDING_LATERAL_GAIN = 0 , VCU_BINDING_LONGITUDINAL_GAIN = 1 , VCU_BINDING_EBB = 2 }
 

Functions

void vcu_update (void)
 
void vcu_move_up (void)
 
void vcu_move_down (void)
 
void vcu_select (void)
 
void vcu_wheel_adjust (bool is_right_wheel, int8_t delta)
 
void vcu_toggle_regen (void)
 
void send_vcu_driver_request (void)
 

Macro Definition Documentation

◆ EBB_BUTTON

#define EBB_BUTTON   "ebb"

◆ LATERAL_GAIN_BUTTON

#define LATERAL_GAIN_BUTTON   "lat"

◆ LEFT_WHEEL_BUTTON

#define LEFT_WHEEL_BUTTON   "left"

◆ LONG_GAIN_BUTTON

#define LONG_GAIN_BUTTON   "long"

◆ REGEN_BUTTON

#define REGEN_BUTTON   "regen"

◆ RIGHT_WHEEL_BUTTON

#define RIGHT_WHEEL_BUTTON   "right"

◆ TV_BUTTON

#define TV_BUTTON   "tv"

◆ VCU_MODE_BUTTON

#define VCU_MODE_BUTTON   "mode"

◆ VCU_STRING

#define VCU_STRING   "vcu"

Enumeration Type Documentation

◆ vcu_binding_t

enum vcu_binding_t : uint8_t
Enumerator
VCU_BINDING_LATERAL_GAIN 
VCU_BINDING_LONGITUDINAL_GAIN 
VCU_BINDING_EBB 

Function Documentation

◆ send_vcu_driver_request()

void send_vcu_driver_request ( void )
Here is the caller graph for this function:

◆ vcu_move_down()

void vcu_move_down ( void )
Here is the call graph for this function:

◆ vcu_move_up()

void vcu_move_up ( void )
Here is the call graph for this function:

◆ vcu_select()

void vcu_select ( void )
Here is the call graph for this function:

◆ vcu_toggle_regen()

void vcu_toggle_regen ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vcu_update()

void vcu_update ( void )
Here is the call graph for this function:

◆ vcu_wheel_adjust()

void vcu_wheel_adjust ( bool is_right_wheel,
int8_t delta )
Here is the call graph for this function:
Here is the caller graph for this function: