Struct Tle5012b::safetyWord
Defined in File TLE5012b.hpp
Nested Relationships
This struct is a nested type of Class Tle5012b.
Struct Documentation
-
struct safetyWord
Public Functions
-
inline slaveNum responseSlave()
Returns the safety word slave number to identify the sensor.
- Returns:
slaveNum setting in safety word
-
inline uint16_t fetch_Safety(uint16_t reg)
Function separates safety word bits.
- Parameters:
reg – [inout] actual safety or last fetched as default
- Returns:
safety word
Public Members
-
bool STAT_RES
<
Safety word bit setting
bits 15:15 Indication of chip reset or watchdog overflow
-
bool STAT_ERR
bits 14:14 System error
-
bool STAT_ACC
bits 13:13 Interface access error
-
bool STAT_ANG
bits 12:12 Invalid angle value
-
uint8_t RESP
bits 11:8 Sensor number response indicator
-
uint8_t CRC
bits 7:0 Status ADC Test
-
inline slaveNum responseSlave()