WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
tsensor_sts_data联合体 参考

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]

struct { ... } tsensor_sts_data::b

Register bits.

◆ d32

uint32_t tsensor_sts_data::d32

tsensor_sts register data.

◆ tsensor_clr

uint32_t tsensor_sts_data::tsensor_clr

Set 1 to clear the status of all modes

◆ tsensor_data

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)

◆ tsensor_rdy

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.


该联合体的文档由以下文件生成: