39 lines
1.1 KiB
C
39 lines
1.1 KiB
C
/*----------------------------------------------------------------------------
|
|
* Copyright (c) TJD Technologies Co., Ltd. 2020. All rights reserved.
|
|
*
|
|
* Description: task_driver_event.h
|
|
*
|
|
* Author: saimen
|
|
*
|
|
* Create: 2024-4-20
|
|
*--------------------------------------------------------------------------*/
|
|
#ifndef TASK_DRIVER_EVENT_H
|
|
#define TASK_DRIVER_EVENT_H
|
|
//lib
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
/**********************************************************************************************************************
|
|
* PUBLIC FUNCTIONS
|
|
*/
|
|
extern unsigned int *tjd_task_driver_event_get_task_handle(void);
|
|
extern unsigned long tjd_task_driver_event_get_queue_id(void);
|
|
extern void tjd_task_driver_event_entry(void *param);
|
|
extern void tjd_task_driver_event_init(unsigned short stack_depth, unsigned short priority);
|
|
|
|
/**********************************************************************************************************************
|
|
* TEST FUNCTIONS
|
|
*/
|
|
extern void tjd_task_driver_event_test_send(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|