OpenBIC
OpenSource Bridge-IC
|
#include <stdbool.h>
#include <logging/log.h>
#include "plat_status.h"
#include "plat_sensor_table.h"
#include "plat_fru.h"
#include "plat_gpio.h"
Macros | |
#define | AALC_STICKY_STATUS_START 0x6000 |
#define | STICKY_STATUS_SIZE 2 |
Functions | |
LOG_MODULE_REGISTER (plat_status) | |
uint32_t | get_status_flag (uint8_t idx) |
void | set_status_flag (uint8_t idx, uint8_t bit, uint32_t val) |
uint16_t | get_sticky_sensor_status (uint8_t idx) |
bool | set_sticky_sensor_status (uint8_t idx, uint16_t val) |
uint16_t | get_sensor_status_for_modbus_cmd (uint8_t status) |
#define AALC_STICKY_STATUS_START 0x6000 |
#define STICKY_STATUS_SIZE 2 |
uint16_t get_sensor_status_for_modbus_cmd | ( | uint8_t | status | ) |
uint32_t get_status_flag | ( | uint8_t | idx | ) |
uint16_t get_sticky_sensor_status | ( | uint8_t | idx | ) |
LOG_MODULE_REGISTER | ( | plat_status | ) |
void set_status_flag | ( | uint8_t | idx, |
uint8_t | bit, | ||
uint32_t | val | ||
) |
bool set_sticky_sensor_status | ( | uint8_t | idx, |
uint16_t | val | ||
) |