nbus_impl.h 570 B

1234567891011121314151617181920212223
  1. /**
  2. * @file nbus_impl.h
  3. *
  4. * @brief Zakladna implementacia prikazov nBus protokolu.
  5. *
  6. */
  7. #ifndef __NBUS_IMPL_H__
  8. #define __NBUS_IMPL_H__
  9. #include "nbus_types.h"
  10. #include "nbus_cmd.h"
  11. void setErrorResponse(nBus_TypeDef *nbus, uint8_t code);
  12. //nBusCommandType_t get_request_type();
  13. void nbus_unicastToSensorGet(nBus_TypeDef *nbus);
  14. void nbus_unicastToModuleGet(nBus_TypeDef *nBus);
  15. void nbus_unicastToSensorSet(nBus_TypeDef *nbus);
  16. void nbus_unicastToModuleSet(nBus_TypeDef *nBus);
  17. void nbus_broadcast(nBus_TypeDef *nBus, nBusCommandType_t request_type);
  18. #endif