#include "common_data.h"
#include <stdbool.h>
◆ ltc2983_gpio_rstn
◆ ltc2983_ip
Initial value:= {
.mux_delay_config_us = 1000,
.filter_notch_freq = 0,
}
◆ ltc2983_rsense_2
Initial value:= {
.sensor = {
.chan = 2,
},
.r_sense_val = {
.r_sense_val_int = 10000,
}
}
Sense resistor connected to channels 1-2 Resistance: 2k ohms
◆ ltc2983_rsense_3
Initial value:= {
.sensor = {
.chan = 3,
},
.r_sense_val = {
.r_sense_val_int = 2000,
}
}
Sense resistor connected to channels 2-3 Resistance: 2k ohms
◆ ltc2983_rtd_11
Initial value:= {
.sensor = {
.chan = 11,
},
.r_sense_chan = 3,
.sensor_config = 1,
.excitation_current = 0x2,
.rtd_curve = 0x2,
}
RTD simulator connected to channels 10-11 Type: PT-1000 Sense resistor: channel 3
◆ ltc2983_rtd_6
Initial value:= {
.sensor = {
.chan = 6,
},
.r_sense_chan = 3,
.sensor_config = 9,
.excitation_current = 0x5,
.rtd_curve = 0x1,
}
RTD fixed simulator connected to channels 3-6 Type: PT-100 Sense resistor: channel 3
◆ ltc2983_spi_ip
◆ ltc2983_thermistor_10
Initial value:= {
.sensor = {
.chan = 10,
},
.r_sense_chan = 2,
.sensor_config = 0x2,
.excitation_current = 0x3,
}
Thermistor fixed simulator connected to channel 10 Sense Resistor: Channel 2 Expected: -30.59 C
◆ ltc2983_thermistor_8
Initial value:= {
.sensor = {
.chan = 8,
},
.r_sense_chan = 2,
.sensor_config = 0x2,
.excitation_current = 0x3,
}
Thermistor simulator connected to channel 8 Sense Resistor: Channel 2
◆ uip
#define LTC2983_CUST_SENS_TBL_START_REG
Definition: ltc2983.h:58
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
struct ltc2983_thermistor ltc2983_thermistor_8
Definition: common_data.c:116
@ LTC2983_THERMISTOR_44008_44032
Definition: ltc2983.h:193
@ ID_LTC2983
Definition: ltc2983.h:152
@ LTC2983_RSENSE
Definition: ltc2983.h:199
@ LTC2983_RTD_PT_100
Definition: ltc2983.h:182
struct ltc2983_sensor sensor
Definition: ltc2983.h:326
@ LTC2983_RTD_PT_1000
Definition: ltc2983.h:185
const struct no_os_gpio_init_param ltc2983_gpio_rstn
Definition: common_data.c:58
@ NO_OS_SPI_BIT_ORDER_MSB_FIRST
Definition: no_os_spi.h:76
#define NULL
Definition: wrapper.h:64
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
const struct no_os_spi_init_param ltc2983_spi_ip
Definition: common_data.c:47
struct ltc2983_rsense ltc2983_rsense_2
Definition: common_data.c:102
struct ltc2983_thermistor ltc2983_thermistor_10
Definition: common_data.c:131
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
struct ltc2983_sensor sensor
Definition: ltc2983.h:376
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66