TMP42x HAL Based Library 1.0.2
This library is a software library that works with the TMP42x remote and local temperature sensor with N-Factor and series-R correction. This library provides a convenient and efficient way to access the I2C interfaces of the chip, allowing developers to easily integrate this power meter into their systems.
Loading...
Searching...
No Matches
tmp42x Struct Reference

Class (struct) that stores variables for interacting with TMP42x. More...

#include <TMP42x.h>

Data Structures

union  _reg16
 
union  _reg8
 

Data Fields

I2C_HandleTypeDef * hi2c
 
uint8_t I2C_ADDR
 
TMP42x_Type type
 
TMP42x_Shutdown shutdown
 
TMP42x_Range range
 
TMP42x_ConversionRate conversion_rate
 
float n_eff1
 
float n_eff2
 
float n_eff3
 
union tmp42x::_reg16 reg16
 
union tmp42x::_reg8 reg8
 

Detailed Description

Class (struct) that stores variables for interacting with TMP42x.

Definition at line 68 of file TMP42x.h.

Field Documentation

◆ conversion_rate

TMP42x_ConversionRate conversion_rate

Specifies the convertion rate.

Definition at line 76 of file TMP42x.h.

◆ hi2c

I2C_HandleTypeDef* hi2c

Specifies the I2C handler.

Definition at line 70 of file TMP42x.h.

◆ I2C_ADDR

uint8_t I2C_ADDR

Specifies the I2C device address.

Definition at line 71 of file TMP42x.h.

◆ n_eff1

float n_eff1

Specifies the adjusted effective n for channel 1.

Definition at line 77 of file TMP42x.h.

◆ n_eff2

float n_eff2

Specifies the adjusted effective n for channel 2. (TMP422 and TMP423).

Definition at line 78 of file TMP42x.h.

◆ n_eff3

float n_eff3

Specifies the adjusted effective n for channel 3. (TMP423)

Definition at line 79 of file TMP42x.h.

◆ range

TMP42x_Range range

Specifies the temperature range: Normal (-40 to +127) or Extended (-55 to +150).

Definition at line 75 of file TMP42x.h.

◆ reg16

union tmp42x::_reg16 reg16

◆ reg8

union tmp42x::_reg8 reg8

◆ shutdown

TMP42x_Shutdown shutdown

Specifies the operation mode: Running or Shutdown

Definition at line 74 of file TMP42x.h.

◆ type

Specifies the chip type: TMP421, TMP422, or TMP423.

Definition at line 73 of file TMP42x.h.


The documentation for this struct was generated from the following file: