thermok3 2.1.0.0
Thermo K 3 Registers Settings

Settings for registers of Thermo K 3 Click driver. More...

Macros

#define THERMOK3_DUMMY_SIGN_BIT   0x80
 Thermo K 3 output data setting.
 
#define THERMOK3_OPEN_THERMOCOUPLE_BIT   0x04
 
#define THERMOK3_DEVICE_ID_BIT   0x02
 
#define THERMOK3_DATA_RESOLUTION   0x0FFFu
 Thermo K 3 data resolution setting.
 
#define THERMOK3_TEMP_RESOLUTION   0.25f
 
#define THERMOK3_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define THERMOK3_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of Thermo K 3 Click driver.

Macro Definition Documentation

◆ THERMOK3_DATA_RESOLUTION

#define THERMOK3_DATA_RESOLUTION   0x0FFFu

Thermo K 3 data resolution setting.

Specified setting for data resolution of Thermo K 3 Click driver.

◆ THERMOK3_DEVICE_ID_BIT

#define THERMOK3_DEVICE_ID_BIT   0x02

◆ THERMOK3_DUMMY_SIGN_BIT

#define THERMOK3_DUMMY_SIGN_BIT   0x80

Thermo K 3 output data setting.

Specified setting for output data of Thermo K 3 Click driver.

◆ THERMOK3_OPEN_THERMOCOUPLE_BIT

#define THERMOK3_OPEN_THERMOCOUPLE_BIT   0x04

◆ THERMOK3_SET_DATA_SAMPLE_EDGE

#define THERMOK3_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with thermok3_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ THERMOK3_SET_DATA_SAMPLE_MIDDLE

#define THERMOK3_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ THERMOK3_TEMP_RESOLUTION

#define THERMOK3_TEMP_RESOLUTION   0.25f