|
OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>#include "plat_gpio.h"#include "plat_modbus.h"#include "plat_util.h"#include "plat_led.h"#include "plat_sensor_table.h"#include "plat_threshold.h"#include "plat_status.h"#include <logging/log.h>
Macros | |
| #define | LED_BLINK_INIT(DEV) |
Functions | |
| LOG_MODULE_REGISTER (plat_led) | |
| LED_BLINK_INIT (POWER) | |
| LED_BLINK_INIT (FAULT) | |
| LED_BLINK_INIT (LEAK) | |
| LED_BLINK_INIT (COOLANT) | |
| uint8_t | get_led_pin (uint8_t idx) |
| struct k_timer * | idx_to_led_timer (uint8_t idx) |
| void | led_set (uint8_t idx, uint8_t behaviour) |
| void | stop_blink_timer (uint8_t idx) |
| void | led_ctrl (uint8_t idx, uint8_t ctrl) |
| uint8_t | get_led_status (uint8_t idx) |
| bool | fault_led_control (void) |
Variables | |
| uint8_t | fault_led_threshold_sensor [] |
| #define LED_BLINK_INIT | ( | DEV | ) |
| bool fault_led_control | ( | void | ) |

| uint8_t get_led_pin | ( | uint8_t | idx | ) |
| uint8_t get_led_status | ( | uint8_t | idx | ) |
| struct k_timer * idx_to_led_timer | ( | uint8_t | idx | ) |
| LED_BLINK_INIT | ( | COOLANT | ) |
| LED_BLINK_INIT | ( | FAULT | ) |
| LED_BLINK_INIT | ( | LEAK | ) |
| LED_BLINK_INIT | ( | POWER | ) |
| void led_ctrl | ( | uint8_t | idx, |
| uint8_t | ctrl | ||
| ) |
| void led_set | ( | uint8_t | idx, |
| uint8_t | behaviour | ||
| ) |

| LOG_MODULE_REGISTER | ( | plat_led | ) |
| void stop_blink_timer | ( | uint8_t | idx | ) |

| uint8_t fault_led_threshold_sensor[] |