|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
This union represents the bit fields in the tsensor_sts register. Read the register into the d32 member then set/clear the bits using the b elements. 更多...
#include <hal_tsensor_v151_regs_def.h>
成员变量 | ||
| uint32_t | d32 | |
| struct { | ||
| uint32_t tsensor_clr: 1 | ||
| uint32_t tsensor_rdy: 1 | ||
| uint32_t tsensor_data: 10 | ||
| } | b | |
This union represents the bit fields in the tsensor_sts register. Read the register into the d32 member then set/clear the bits using the b elements.
| struct { ... } tsensor_sts_data::b |
Register bits.
| uint32_t tsensor_sts_data::d32 |
tsensor_sts register data.
| uint32_t tsensor_sts_data::tsensor_clr |
Set 1 to clear the status of all modes
| uint32_t tsensor_sts_data::tsensor_data |
10-bit temperature range code value output, linear distribution; -40C~ dec'xxx, 125C~ dec'xxx, That is, the tsensor direct output code value to the temperature °C unit conversion formula T_°C = [BIN2DEC(TEMP_OUT<9:0>)-132]/(921-132)*[125-(-40)]+(-40)
| uint32_t tsensor_sts_data::tsensor_rdy |
In all modes: 0: Detection is not started or in manual detection. 1: Value of tsensor_data is valid.