OpenBIC
OpenSource Bridge-IC
plat_led.c File Reference
#include <zephyr.h>
#include <stdio.h>
#include <logging/log.h>
#include "hal_gpio.h"
#include "sensor.h"
#include "plat_gpio.h"
#include "plat_i2c.h"
#include "plat_hook.h"
#include "plat_led.h"
#include "plat_class.h"
#include "plat_pldm_monitor.h"
Include dependency graph for plat_led.c:

Functions

 LOG_MODULE_REGISTER (plat_led)
 
bool pwr_led_control (uint8_t src, uint8_t status)
 
bool fault_led_control (uint8_t src, uint8_t status)
 
void light_fault_led_check ()
 
void pwr_led_check ()
 
uint8_t get_sys_led_status (uint8_t type)
 
bool e1s_led_control (uint8_t effector_id, uint8_t status)
 
uint8_t get_ssd_led_status (uint8_t effector_id)
 
void sys_led_init_and_check ()
 

Function Documentation

◆ e1s_led_control()

bool e1s_led_control ( uint8_t  effector_id,
uint8_t  status 
)
Here is the call graph for this function:

◆ fault_led_control()

bool fault_led_control ( uint8_t  src,
uint8_t  status 
)

◆ get_ssd_led_status()

uint8_t get_ssd_led_status ( uint8_t  effector_id)
Here is the call graph for this function:

◆ get_sys_led_status()

uint8_t get_sys_led_status ( uint8_t  type)

◆ light_fault_led_check()

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

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( plat_led  )

◆ pwr_led_check()

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

◆ pwr_led_control()

bool pwr_led_control ( uint8_t  src,
uint8_t  status 
)

◆ sys_led_init_and_check()

void sys_led_init_and_check ( )