investigating UART crash
Dependencies: mbed LoRaWAN-lib_publishing_testing_UART_bug SingleFrequencyLora
Fork of simple-demo-76_revised_20171113 by
Diff: system/utilities.h
- Revision:
- 3:9c6f7f082151
- Parent:
- 1:352f608c3337
diff -r 01e3c65c7c3a -r 9c6f7f082151 system/utilities.h --- 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