sensorType | |
prints register bit matrix and sensor interface type
This example program prints the bit matrix of all registers and the sensors default interface type and its settings. From special registers MOD1,2,3,4 and IFAB the explicit sensor interface set and the PCB board will be identified. See the Sensor manual for further information on the different interfaces and the different sensor boards.
| |
Tle5012Wiced | Tle5012Sensor = Tle5012Wiced() |
errorTypes | checkError = NO_ERROR |
void | show_bin () |
Function prints the binary code of each documented register. More... | |
void | pwmInterface () |
Sensor is set with PWM interface with the following settings. More... | |
void | iifInterface () |
Sensor is set with IIF interface with the following settings. More... | |
void | hsmInterface () |
Sensor is set with IIF interface with the following settings. More... | |
void | spcInterface () |
Sensor is set with SPC interface with the following settings. More... | |
void | show_identity () |
This function prints the identity of the sensor which is set as factory default inside the sensor fuses. More... | |
void | show_additional () |
Shows additional information for each sensor type from the additional registers MOD2 and MOD3. More... | |
void | setup () |
void | loop () |
void | application_start () |
void show_bin | ( | ) |
Function prints the binary code of each documented register.
void pwmInterface | ( | ) |
Sensor is set with PWM interface with the following settings.
void iifInterface | ( | ) |
Sensor is set with IIF interface with the following settings.
void hsmInterface | ( | ) |
Sensor is set with IIF interface with the following settings.
void spcInterface | ( | ) |
Sensor is set with SPC interface with the following settings.
void show_identity | ( | ) |
This function prints the identity of the sensor which is set as factory default inside the sensor fuses.
void show_additional | ( | ) |
Shows additional information for each sensor type from the additional registers MOD2 and MOD3.
void setup | ( | ) |
You can use resetFirmware to set all register settings back to factory defaults
You can set the sensor slave number to one of four possible settings
void loop | ( | ) |
void application_start | ( | ) |
Tle5012Wiced Tle5012Sensor = Tle5012Wiced() |
errorTypes checkError = NO_ERROR |