OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <sys/printk.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <shell/shell.h>
#include "sensor.h"
#include "plat_gpio.h"
#include "plat_sensor_table.h"
Classes | |
struct | stress_e1s_pwr_s |
Macros | |
#define | MAX_E1S_NUMBER 16 |
#define | E1S_POWER_CLOCK_PERIOD 2 |
#define | E1S_POWER_AVG_PERIOD 250 |
Functions | |
void | e1s_pwr_work_handler (struct k_work *work) |
void | e1s_pwr_stop_work_handler (struct k_work *work) |
int | cmd_stress_e1s_pwr (const struct shell *shell, size_t argc, char **argv) |
Variables | |
uint8_t | e1s_power_sensor_table [MAX_E1S_NUMBER] |
uint8_t | e1s_present_pin_table [MAX_E1S_NUMBER] |
#define E1S_POWER_AVG_PERIOD 250 |
#define E1S_POWER_CLOCK_PERIOD 2 |
#define MAX_E1S_NUMBER 16 |
int cmd_stress_e1s_pwr | ( | const struct shell * | shell, |
size_t | argc, | ||
char ** | argv | ||
) |
void e1s_pwr_stop_work_handler | ( | struct k_work * | work | ) |
void e1s_pwr_work_handler | ( | struct k_work * | work | ) |
uint8_t e1s_power_sensor_table[MAX_E1S_NUMBER] |
uint8_t e1s_present_pin_table[MAX_E1S_NUMBER] |