#include "stdio.h"
#include "stdint.h"
#include "stdbool.h"
Go to the source code of this file.
|
enum | FSC_ERROR {
FSC_ERROR_NONE = 0
, FSC_ERROR_UNKNOW
, FSC_ERROR_OUT_OF_RANGE
, FSC_ERROR_NOT_FOUND_ZONE_TABLE
,
FSC_ERROR_NOT_FOUND_STEPWISE_TABLE
, FSC_ERROR_NOT_FOUND_PID_TABLE
, FSC_ERROR_NULL_ARG
} |
|
enum | FSC_TYPE {
FSC_TYPE_DISABLE = 0
, FSC_TYPE_STEPWISE
, FSC_TYPE_PID
, FSC_TYPE_BOTH
,
FSC_TYPE_DEFAULT
} |
|
enum | FSC_MODE_E { FSC_MODE_UNKNOW = 0
, FSC_MODE_AUTO_MODE
, FSC_MODE_MANUAL_MODE
, FSC_MODE_SEMI_MODE
} |
|
◆ FSC_DISABLE
◆ FSC_ENABLE
◆ FSC_RPM_INVALID
#define FSC_RPM_INVALID 0xFFFF |
◆ FSC_TEMP_INVALID
#define FSC_TEMP_INVALID 0x8000 |
◆ SENSOR_STEPWISE_STEPS_MAX
#define SENSOR_STEPWISE_STEPS_MAX 16 |
◆ FSC_ERROR
Enumerator |
---|
FSC_ERROR_NONE | |
FSC_ERROR_UNKNOW | |
FSC_ERROR_OUT_OF_RANGE | |
FSC_ERROR_NOT_FOUND_ZONE_TABLE | |
FSC_ERROR_NOT_FOUND_STEPWISE_TABLE | |
FSC_ERROR_NOT_FOUND_PID_TABLE | |
FSC_ERROR_NULL_ARG | |
◆ FSC_MODE_E
Enumerator |
---|
FSC_MODE_UNKNOW | |
FSC_MODE_AUTO_MODE | |
FSC_MODE_MANUAL_MODE | |
FSC_MODE_SEMI_MODE | |
◆ FSC_TYPE
Enumerator |
---|
FSC_TYPE_DISABLE | |
FSC_TYPE_STEPWISE | |
FSC_TYPE_PID | |
FSC_TYPE_BOTH | |
FSC_TYPE_DEFAULT | |
◆ change_lpm_setpoint()
void change_lpm_setpoint |
( |
uint8_t |
onoff | ) |
|
◆ change_temp_setpoint()
void change_temp_setpoint |
( |
uint8_t |
onoff | ) |
|
◆ controlFSC()
void controlFSC |
( |
uint8_t |
action | ) |
|
Function to control the FSC thread.
- Parameters
-
action | The specified action, can be FSC_DISABLE (turn off) or FSC_ENABLE (turn on). |
◆ fsc_debug_get()
uint8_t fsc_debug_get |
( |
void |
| ) |
|
◆ fsc_debug_set()
uint8_t fsc_debug_set |
( |
uint8_t |
enable | ) |
|
◆ fsc_init()
◆ get_fsc_enable_flag()
uint8_t get_fsc_enable_flag |
( |
void |
| ) |
|
◆ get_fsc_setpoint()
uint8_t get_fsc_setpoint |
( |
uint8_t |
idx | ) |
|
◆ set_fsc_enable_flag()
void set_fsc_enable_flag |
( |
uint8_t |
flag | ) |
|
◆ set_fsc_setpoint()
void set_fsc_setpoint |
( |
uint8_t |
idx, |
|
|
uint8_t |
val |
|
) |
| |
◆ set_fsc_tbl_enable()
void set_fsc_tbl_enable |
( |
uint8_t |
flag | ) |
|