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.
 
 
 
 

15 line
224 B

  1. #ifndef _LED_TASK_H
  2. #define _LED_TASK_H
  3. #include "stm32f4xx.h"
  4. typedef struct {
  5. void (*init)(void);
  6. void (*write_data)(uint8_t *data);
  7. uint8_t(*read_data)(void);
  8. } led_drive_t;
  9. extern led_drive_t led;
  10. #endif