OpenBIC
OpenSource Bridge-IC
|
#include <zephyr.h>
#include <stdio.h>
#include "plat_led.h"
#include "plat_gpio.h"
#include <logging/log.h>
Functions | |
LOG_MODULE_REGISTER (plat_led) | |
K_TIMER_DEFINE (heartbeat_led_timer, lit_heartbeat_led, NULL) | |
K_WORK_DEFINE (lit_heartbeat_led_work, lit_heartbeat_led_handler) | |
void | lit_heartbeat_led_handler (struct k_work *work) |
void | lit_heartbeat_led (struct k_timer *timer) |
void | plat_led_init (void) |
K_TIMER_DEFINE | ( | heartbeat_led_timer | , |
lit_heartbeat_led | , | ||
NULL | |||
) |
K_WORK_DEFINE | ( | lit_heartbeat_led_work | , |
lit_heartbeat_led_handler | |||
) |
void lit_heartbeat_led | ( | struct k_timer * | timer | ) |
void lit_heartbeat_led_handler | ( | struct k_work * | work | ) |
LOG_MODULE_REGISTER | ( | plat_led | ) |
void plat_led_init | ( | void | ) |