Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: LoRaWAN-SanJose_Bootcamp LoRaWAN-grove-cayenne LoRaWAN-classC-demo LoRaWAN-grove-cayenne ... more
utilities.h
00001 00002 long random_at_most(long max); 00003 void memcpyr( uint8_t *dst, const uint8_t *src, uint16_t size ); 00004 #ifdef ENABLE_VT100 00005 void print_buf(const uint8_t* const buf, uint8_t len, const char* txt, uint8_t row); 00006 #else 00007 void print_buf(const uint8_t* const buf, uint8_t len, const char* txt); 00008 #endif 00009 bool ValueInRange( int8_t value, int8_t min, int8_t max ); 00010 00011 #ifndef MIN 00012 #define MIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) ) 00013 #endif 00014 00015 #ifndef MAX 00016 #define MAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) ) 00017 #endif
Generated on Mon Jul 18 2022 19:16:49 by
1.7.2