TLE5012B  3.1.0
The TLE5012B is a pre-calibrated 360° angle sensor that detects the orientation of a magnetic field. The raw signals (sine and cosine) are digitally processed internally to calculate the angle orientation of the magnetic field (magnet).
TLE5012-platf-wiced.hpp
Go to the documentation of this file.
1 
10 #ifndef TLE5012_PLATF_WICED_HPP_
11 #define TLE5012_PLATF_WICED_HPP_
12 
13 #include "../../../config/tle5012-conf.hpp"
14 
15 #if (TLE5012_FRAMEWORK == TLE5012_FRMWK_WICED)
16 
31 #include "../pal/TLE5012-pal-wiced.hpp"
32 #include <wiced.h>
33 
34 // Support macros
36 #define PRINTBIN(Num) for (uint32_t t = (1UL << ((sizeof(Num)*8)-1)); t; t >>= 1) WPRINT_APP_INFO(("%u ",(Num & t ? 1 : 0) ));
38 #define PRINTBINS(Num) for (uint32_t t = (1UL << ((sizeof(Num)*8)-1)); t; t >>= 1) WPRINT_APP_INFO((" %u ",(Num & t ? 1 : 0) ));
39 
42 #endif
43 #endif