You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
607 B
33 lines
607 B
#ifndef __QC_APP_H__
|
|
#define __QC_APP_H__
|
|
|
|
#include "task_qc_app_define.h"
|
|
|
|
|
|
typedef void(*wait_qc_request_t)(uint8_t port, qc_assist_s *qc_user);
|
|
typedef void(*set_qc_volage_t)(uint8_t port, qc_assist_s *qc_user);
|
|
typedef void(*qc_detect_t)(uint8_t port, qc_assist_s *qc_user);
|
|
|
|
|
|
|
|
typedef struct
|
|
{
|
|
void(*wait_qc_request)(uint8_t port, qc_assist_s *qc_assist);
|
|
void(*set_qc_volage)(uint8_t port, qc_assist_s *qc_assist);
|
|
void(*qc_detect)(uint8_t port, qc_assist_s *qc_assist);
|
|
|
|
} qc_calk_s;
|
|
|
|
|
|
|
|
typedef struct
|
|
{
|
|
qc_assist_s qc_assist;
|
|
const qc_calk_s *qc_calk;
|
|
|
|
|
|
} qc_param_s;
|
|
|
|
|
|
|
|
#endif
|
|
|