Midnight Sun Firmware
Loading...
Searching...
No Matches
Cruise_control

cruise_control Firmware More...

Functions

StatusCode cruise_control_init (SteeringStorage *steering_storage)
 Initailize cruise control. More...
 
StatusCode cruise_control_down_handler ()
 Cruise control traget speed decrease event handler. More...
 
StatusCode cruise_control_up_handler ()
 Cruise control traget speed increase event handler. More...
 
StatusCode cruise_control_run ()
 

Detailed Description

cruise_control Firmware

Function Documentation

◆ cruise_control_down_handler()

StatusCode cruise_control_down_handler ( )

Cruise control traget speed decrease event handler.

Returns
STATUS_CODE_OK if handled successfully STATUS_CODE_UNINITIALIZED if cruise control is not initialized

◆ cruise_control_init()

StatusCode cruise_control_init ( SteeringStorage steering_storage)

Initailize cruise control.

Parameters
storagePointer to the SteeringStorage instance
Returns
STATUS_CODE_OK if initialized successfully STATUS_CODE_INVALID_ARGS if an invalid parameter is passed in

◆ cruise_control_up_handler()

StatusCode cruise_control_up_handler ( )

Cruise control traget speed increase event handler.

Returns
STATUS_CODE_OK if handled successfully STATUS_CODE_UNINITIALIZED if cruise control is not initialized