Files
ESPC3-wireless/app/drivers/sertrf/sertrf.h

54 lines
821 B
C
Raw Normal View History

2025-08-20 11:28:11 +08:00
#pragma once
#include "device.h"
2025-08-20 11:31:55 +08:00
#include "../led_strip/led_strip.h"
#include "key.h"
#include "protocol/p_protocol.h"
2025-08-20 11:28:11 +08:00
typedef struct
{
device_t device;
os_thread_t embedded_thread;
os_thread_t task_thread;
2025-08-20 11:28:11 +08:00
}sertrf_t;
/**
* @brief
*/
void sertrf_init(void);
/**
* @brief
*/
void sertrf_start(void);
/**
* @brief
*/
void sertrf_stop(void);
/**
* @brief
*/
void sertrf_status(void);
/**
* @brief embedded thread
*/
void embedded_thread(void* arg);
/**
* @brief task thread
*/
void task_thread(void* arg);
/**
* @brief
*
* @param connect
*/
void pc_link_rgb_color(device_t* device);
/**
* @brief
*/
void printf_chill_time(uint8_t chill_time, uint16_t type);
2025-08-20 11:28:11 +08:00