OpenBIC
OpenSource Bridge-IC
|
#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"
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 () |
bool e1s_led_control | ( | uint8_t | effector_id, |
uint8_t | status | ||
) |
bool fault_led_control | ( | uint8_t | src, |
uint8_t | status | ||
) |
uint8_t get_ssd_led_status | ( | uint8_t | effector_id | ) |
uint8_t get_sys_led_status | ( | uint8_t | type | ) |
void light_fault_led_check | ( | ) |
LOG_MODULE_REGISTER | ( | plat_led | ) |
void pwr_led_check | ( | ) |
bool pwr_led_control | ( | uint8_t | src, |
uint8_t | status | ||
) |
void sys_led_init_and_check | ( | ) |