OpenBIC
OpenSource Bridge-IC
|
#include "plat_fsc.h"
#include <stdlib.h>
#include <libutil.h>
#include "sensor.h"
#include "plat_sensor_table.h"
#include "plat_status.h"
#include <logging/log.h>
Macros | |
#define | FSC_PRINTF(fmt, ...) |
Functions | |
LOG_MODULE_REGISTER (plat_fsc) | |
K_KERNEL_STACK_MEMBER (fsc_thread_stack, 2048) | |
uint8_t | fsc_debug_set (uint8_t enable) |
uint8_t | fsc_debug_get (void) |
uint8_t | get_fsc_enable_flag (void) |
void | set_fsc_enable_flag (uint8_t flag) |
uint8_t | get_fsc_tbl_enable (void) |
void | set_fsc_tbl_enable (uint8_t flag) |
uint8_t | get_fsc_setpoint (uint8_t idx) |
void | set_fsc_setpoint (uint8_t idx, uint8_t val) |
uint8_t | get_fsc_duty_cache (uint8_t zone, uint8_t *cache) |
bool | get_fsc_poll_count (uint8_t zone, uint8_t *count) |
void | change_lpm_setpoint (uint8_t onoff) |
void | change_temp_setpoint (uint8_t onoff) |
void | controlFSC (uint8_t action) |
Function to control the FSC thread. More... | |
void | fsc_init (void) |
Variables | |
struct k_thread | fsc_thread |
zone_cfg | zone_table [] |
uint32_t | zone_table_size |
pid_cfg | pump_pid_table [] |
stepwise_cfg | pump_stepwise_auto_mode_table [] |
stepwise_cfg | pump_stepwise_auto_tune_table [] |
#define FSC_PRINTF | ( | fmt, | |
... | |||
) |
void change_lpm_setpoint | ( | uint8_t | onoff | ) |
void change_temp_setpoint | ( | uint8_t | onoff | ) |
void controlFSC | ( | uint8_t | action | ) |
Function to control the FSC thread.
action | The specified action, can be FSC_DISABLE (turn off) or FSC_ENABLE (turn on). |
uint8_t fsc_debug_get | ( | void | ) |
uint8_t fsc_debug_set | ( | uint8_t | enable | ) |
void fsc_init | ( | void | ) |
uint8_t get_fsc_duty_cache | ( | uint8_t | zone, |
uint8_t * | cache | ||
) |
uint8_t get_fsc_enable_flag | ( | void | ) |
bool get_fsc_poll_count | ( | uint8_t | zone, |
uint8_t * | count | ||
) |
uint8_t get_fsc_setpoint | ( | uint8_t | idx | ) |
uint8_t get_fsc_tbl_enable | ( | void | ) |
K_KERNEL_STACK_MEMBER | ( | fsc_thread_stack | , |
2048 | |||
) |
LOG_MODULE_REGISTER | ( | plat_fsc | ) |
void set_fsc_enable_flag | ( | uint8_t | flag | ) |
void set_fsc_setpoint | ( | uint8_t | idx, |
uint8_t | val | ||
) |
void set_fsc_tbl_enable | ( | uint8_t | flag | ) |
struct k_thread fsc_thread |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |