Program Listing for File TLE5012-platf-wiced.hpp
↰ Return to documentation for file (src/framework/wiced-43xxx/wrapper/TLE5012-platf-wiced.hpp)
#ifndef TLE5012_PLATF_WICED_HPP_
#define TLE5012_PLATF_WICED_HPP_
#include "../../../config/tle5012-conf.hpp"
#if (TLE5012_FRAMEWORK == TLE5012_FRMWK_WICED)
namespace tle5012
{
#include "../pal/TLE5012-pal-wiced.hpp"
#include <wiced.h>
// Support macros
#define PRINTBIN(Num) for (uint32_t t = (1UL << ((sizeof(Num)*8)-1)); t; t >>= 1) WPRINT_APP_INFO(("%u ",(Num & t ? 1 : 0) ));
#define PRINTBINS(Num) for (uint32_t t = (1UL << ((sizeof(Num)*8)-1)); t; t >>= 1) WPRINT_APP_INFO((" %u ",(Num & t ? 1 : 0) ));
}
#endif
#endif