OpenBIC
OpenSource Bridge-IC
plat_isr.c File Reference
#include "adm1272.h"
#include "hal_gpio.h"
#include "sensor.h"
#include "plat_isr.h"
#include "plat_gpio.h"
#include "plat_pwm.h"
#include "plat_hwmon.h"
#include "plat_sensor_table.h"
#include "plat_led.h"
#include "plat_log.h"
#include "plat_threshold.h"
#include "plat_status.h"
#include "plat_fru.h"
Include dependency graph for plat_isr.c:

Macros

#define SURPRISE_SHUTDOWN_TOTAL_TIME_LENGTH
 
#define IT_LEAK_ALERT_HANDLER(idx)
 

Functions

 LOG_MODULE_REGISTER (plat_isr)
 
void deassert_all_rpu_ready_pin (void)
 
void set_all_rpu_ready_pin_normal (void)
 
void emergency_button_action ()
 
void fault_leak_action ()
 
void it_leak_handler (uint8_t idx)
 
 IT_LEAK_ALERT_HANDLER (0)
 
 IT_LEAK_ALERT_HANDLER (1)
 
 IT_LEAK_ALERT_HANDLER (2)
 
 IT_LEAK_ALERT_HANDLER (3)
 
void aalc_leak_behavior (uint8_t sensor_num)
 
void shutdown_save_uptime_action ()
 

Macro Definition Documentation

◆ IT_LEAK_ALERT_HANDLER

#define IT_LEAK_ALERT_HANDLER (   idx)
Value:
void it_leak_handle_##idx(struct k_work *work) \
{ \
it_leak_handler(IT_LEAK_E_##idx); \
} \
K_WORK_DELAYABLE_DEFINE(it_leak_work_##idx, it_leak_handle_##idx); \
void it_leak_action_##idx(void) \
{ \
k_work_schedule(&it_leak_work_##idx, K_MSEC(1000)); \
}
uint8_t idx
Definition: plat_util.c:39

◆ SURPRISE_SHUTDOWN_TOTAL_TIME_LENGTH

#define SURPRISE_SHUTDOWN_TOTAL_TIME_LENGTH
Value:
EEPROM_PUMP3_UPTIME_SIZE)
#define EEPROM_PUMP2_UPTIME_SIZE
Definition: plat_fru.h:87
#define EEPROM_PUMP1_UPTIME_SIZE
Definition: plat_fru.h:84
#define EEPROM_UPTIME_SIZE
Definition: plat_fru.h:81

Function Documentation

◆ aalc_leak_behavior()

void aalc_leak_behavior ( uint8_t  sensor_num)
Here is the call graph for this function:

◆ deassert_all_rpu_ready_pin()

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

◆ emergency_button_action()

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

◆ fault_leak_action()

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

◆ IT_LEAK_ALERT_HANDLER() [1/4]

IT_LEAK_ALERT_HANDLER ( )

◆ IT_LEAK_ALERT_HANDLER() [2/4]

IT_LEAK_ALERT_HANDLER ( )

◆ IT_LEAK_ALERT_HANDLER() [3/4]

IT_LEAK_ALERT_HANDLER ( )

◆ IT_LEAK_ALERT_HANDLER() [4/4]

IT_LEAK_ALERT_HANDLER ( )

◆ it_leak_handler()

void it_leak_handler ( uint8_t  idx)
Here is the call graph for this function:

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_isr  )

◆ set_all_rpu_ready_pin_normal()

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

◆ shutdown_save_uptime_action()

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