nbus_app.h 579 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * @file nbus_app.h
  3. *
  4. * @brief Zakladna kostra nBus protokolu.
  5. *
  6. */
  7. #ifndef __NBUS_APP_H__
  8. #define __NBUS_APP_H__
  9. #include "nbus_types.h"
  10. #include "nbus_slave.h"
  11. #include "nbus_cmd.h"
  12. #ifdef __cplusplus
  13. extern "C"
  14. {
  15. #endif
  16. void nbus_init(nBusAppInterface_t *interface, nBusPlatformInterface_t *hw);
  17. void nbus_init_app(void *hw_interface, void *hw_config);
  18. void nbus_stack(void);
  19. void nbus_init_memory_driver(nBus_MemoryDriver *memDriver);
  20. void nbus_cb_UART_RX(int);
  21. void nbus_cb_TIM_periodElapsed(void);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif