AppBridge.h 579 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * @file AppBridge.h
  3. * @brief Deklarácia vysokoúrovňovej logiky firmvéru nBusBridge
  4. * @date Mar 5, 2025
  5. * @author Juraj Dudak
  6. */
  7. #ifndef SRC_APPBRIDGE_H_
  8. #define SRC_APPBRIDGE_H_
  9. #if defined(STM32F401xC) || defined(STM32F401xE)
  10. #include "stm32f4xx_hal.h"
  11. #endif
  12. #if defined (STM32L432xx)
  13. #include "stm32l4xx_hal.h"
  14. #endif
  15. #if defined (STM32L031xx) || defined (STM32L082xx)
  16. #include "stm32l0xx_hal.h"
  17. #endif
  18. #ifdef __cplusplus
  19. extern "C"
  20. {
  21. #endif
  22. void app(UART_HandleTypeDef *, UART_HandleTypeDef *);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* SRC_APPBRIDGE_H_ */