移植到stm32f1,实现手动线赋码控制器功能
This commit is contained in:
28
source/task/input.h
Normal file
28
source/task/input.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef input_h__
|
||||
#define input_h__
|
||||
|
||||
|
||||
#include "rtthread.h"
|
||||
#include "transmit.h"
|
||||
#include "signal.h"
|
||||
#include "bytearray.h"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
int input_set_callback_always(int channel,int state_to_call,void (*fun)(void *t),void *t);
|
||||
|
||||
int input_set_callback_once(int channel,int state_to_call,void (*fun)(void *t),void *t);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user