实时设置
这项工作是每十毫秒将数字输出为1。数字输出只应设置为1毫秒,在那之后设置为0.数字输出设置已经完成:int set_digio(char value);以下是时间和睡眠manuals.TYPE typedel void(*timerhandler_t)(void);
int create_timer(timerhandler_t handler);
NAME int rt_timer_create(unsigned int usecs,
unsigned int secs,
timerhandler_t handler);//重复的调用函数每隔多少时间 NAME int rt_usleep(unsigned int usecs);//睡眠多长时间
用以上信息,完成void timer_callback(void)和void setup_digio_timer(void)两个函数