Application example using LoRaWAN-lib MAC layer implementation for STM32 + SX1276 on OpenChirp
Dependencies: mbed LoRaWAN-lib SX1276Lib
Diff: system/utilities.h
- Revision:
- 3:9c6f7f082151
- Parent:
- 1:352f608c3337
--- a/system/utilities.h Thu Nov 26 17:22:53 2015 +0000 +++ b/system/utilities.h Thu Jan 07 15:14:22 2016 +0000 @@ -69,6 +69,15 @@ void memcpy1( uint8_t *dst, const uint8_t *src, uint16_t size ); /*! + * \brief Copies size elements of src array to dst array reversing the byte order + * + * \param [OUT] dst Destination array + * \param [IN] src Source array + * \param [IN] size Number of bytes to be copied + */ +void memcpyr( uint8_t *dst, const uint8_t *src, uint16_t size ); + +/*! * \brief Set size elements of dst array with value * * \remark STM32 Standard memset function only works on pointers that are aligned