SmartMesh QSL for STM32F4 version

Fork of COG-AD4050_QSL by APS Lab

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers dn_endianness.h Source File

dn_endianness.h

00001 /*
00002 Copyright (c) 2014, Dust Networks. All rights reserved.
00003 
00004 \license See attached DN_LICENSE.txt.
00005 */
00006 
00007 #ifndef DN_ENDIANNESS_H
00008 #define DN_ENDIANNESS_H
00009 
00010 #include "dn_common.h"
00011 
00012 //=========================== defined =========================================
00013 
00014 //=========================== typedef =========================================
00015 
00016 //=========================== variables =======================================
00017 
00018 //=========================== prototypes ======================================
00019 
00020 #ifdef __cplusplus
00021  extern "C" {
00022 #endif
00023 
00024 void dn_write_uint16_t(uint8_t* ptr, uint16_t val);
00025 void dn_write_uint32_t(uint8_t* ptr, uint32_t val);
00026 void dn_write_int32_t(uint8_t* ptr,  int32_t val);
00027 void dn_read_uint16_t(uint16_t* to, uint8_t* from);
00028 void dn_read_uint32_t(uint32_t* to, uint8_t* from);
00029 void dn_read_int32_t(int32_t* to, uint8_t* from);
00030 
00031 #ifdef __cplusplus
00032 }
00033 #endif
00034 
00035 #endif
00036