| 12345678910111213141516171819202122232425262728293031323334353637 |
- /**
- * @file nbus_app.h
- *
- * @brief Zakladna kostra nBus protokolu.
- *
- */
- #ifndef __NBUS_APP_H__
- #define __NBUS_APP_H__
- #include "nbus_types.h"
- #if MODULE_SLAVE == 1
- #include "nbus_slave.h"
- #endif
- #if MODULE_MASTER == 1
- #include "nbus_master_module.h"
- #endif
- #include "nbus_cmd.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- void nbus_init(nBusAppInterface_t *interface, nBusPlatformInterface_t *hw);
- void nbus_init_app(void *hw_interface, void *hw_config);
- void nbus_stack(void);
- void nbus_init_memory_driver(nBus_MemoryDriver *memDriver, uint16_t capacity);
- void nbus_cb_UART_RX(int);
- void nbus_cb_TIM_periodElapsed(void);
- #ifdef __cplusplus
- }
- #endif
- #endif
|