bt_6701_commands.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /******************************* (C) LiteMesh **********************************
  2. * @module bt_6701_commands
  3. * @file bt_6701_commands.h
  4. * @version 1.0.0
  5. * @date XX.XX.XXXX
  6. * $brief bt_6701_commands
  7. *******************************************************************************
  8. * @history Version Author Comment
  9. * XX.XX.XXXX 1.0.0 Telenkov D.A. First release.
  10. *******************************************************************************
  11. */
  12. /* Define to prevent recursive ----------------------------------------------*/
  13. #ifndef __BT_6701_COMMANDS_H
  14. #define __BT_6701_COMMANDS_H
  15. typedef struct
  16. {
  17. GPIO_TypeDef *first_port;
  18. uint16_t first_pin;
  19. uint8_t first_pin_num;
  20. GPIO_TypeDef *second_port;
  21. uint16_t second_pin;
  22. uint8_t second_pin_num;
  23. } pair_pin_t;
  24. typedef struct
  25. {
  26. GPIO_TypeDef *port;
  27. uint16_t pin;
  28. } single_pin_t;
  29. /**
  30. * @brief
  31. */
  32. void Test_U232(void);
  33. //
  34. void Test_Pins(void);
  35. #endif /* #ifndef __BT_6701_COMMANDS_H */
  36. /****************************** (C) LiteMesh ***************** end of file ****/