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).
PlatfWiced

Macros

#define PRINTBIN(Num)   for (uint32_t t = (1UL << ((sizeof(Num)*8)-1)); t; t >>= 1) WPRINT_APP_INFO(("%u ",(Num & t ? 1 : 0) ));
 < More...
 
#define PRINTBINS(Num)   for (uint32_t t = (1UL << ((sizeof(Num)*8)-1)); t; t >>= 1) WPRINT_APP_INFO((" %u ",(Num & t ? 1 : 0) ));
 

Detailed Description

Macro Definition Documentation

◆ PRINTBIN

#define PRINTBIN (   Num)    for (uint32_t t = (1UL << ((sizeof(Num)*8)-1)); t; t >>= 1) WPRINT_APP_INFO(("%u ",(Num & t ? 1 : 0) ));

<

Prints a binary number with leading zeros (Automatic Handling)

Prints a binary number with leading zeros (Automatic Handling) with space

◆ PRINTBINS

#define PRINTBINS (   Num)    for (uint32_t t = (1UL << ((sizeof(Num)*8)-1)); t; t >>= 1) WPRINT_APP_INFO((" %u ",(Num & t ? 1 : 0) ));