nbus_app.h 547 B

123456789101112131415161718192021222324252627282930
  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_TIM_periodElapsed(void);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif