OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include "plat_led.h"
#include "plat_gpio.h"
#include "plat_util.h"
#include "plat_m2.h"
#include <logging/log.h>
Macros | |
#define | SSD_LED_BLINK_INIT(DEV) |
Functions | |
LOG_MODULE_REGISTER (plat_led) | |
SSD_LED_BLINK_INIT (A) | |
SSD_LED_BLINK_INIT (B) | |
SSD_LED_BLINK_INIT (C) | |
SSD_LED_BLINK_INIT (D) | |
uint8_t | GetSSDLEDPin (uint8_t idx) |
struct k_timer * | idx_to_ssdled_timer (uint8_t idx) |
void | SSDLEDSet (uint8_t idx, uint8_t behaviour) |
void | stop_blink_timer (uint8_t idx) |
uint8_t | SSDLEDCtrl (uint8_t idx, uint8_t ctrl) |
uint8_t | GetAmberLEDStat (uint8_t idx) |
void | SSDLEDInit (void) |
#define SSD_LED_BLINK_INIT | ( | DEV | ) |
uint8_t GetAmberLEDStat | ( | uint8_t | idx | ) |
uint8_t GetSSDLEDPin | ( | uint8_t | idx | ) |
struct k_timer * idx_to_ssdled_timer | ( | uint8_t | idx | ) |
LOG_MODULE_REGISTER | ( | plat_led | ) |
SSD_LED_BLINK_INIT | ( | A | ) |
SSD_LED_BLINK_INIT | ( | B | ) |
SSD_LED_BLINK_INIT | ( | C | ) |
SSD_LED_BLINK_INIT | ( | D | ) |
uint8_t SSDLEDCtrl | ( | uint8_t | idx, |
uint8_t | ctrl | ||
) |
void SSDLEDInit | ( | void | ) |
void SSDLEDSet | ( | uint8_t | idx, |
uint8_t | behaviour | ||
) |
void stop_blink_timer | ( | uint8_t | idx | ) |