no-OS
Variables
common_data.c File Reference
#include "common_data.h"
#include <stdbool.h>
Include dependency graph for common_data.c:

Variables

struct no_os_uart_init_param uip
 
const struct no_os_i2c_init_param max31827_i2c_ip
 
struct max31827_init_param max31827_ip
 

Variable Documentation

◆ max31827_i2c_ip

const struct no_os_i2c_init_param max31827_i2c_ip
Initial value:
= {
.device_id = I2C_DEVICE_ID,
.max_speed_hz = 100000,
.slave_address = 0x42,
.platform_ops = I2C_OPS,
.extra = I2C_EXTRA,
}

◆ max31827_ip

struct max31827_init_param max31827_ip
Initial value:
= {
.i2c_init_param = max31827_i2c_ip,
.comp_int = 0,
.alarm_pol = 0,
.fault_q = 1,
.timeout_enable = 0,
}

◆ uip

Initial value:
= {
.device_id = UART_DEVICE_ID,
.baud_rate = UART_BAUDRATE,
.size = NO_OS_UART_CS_8,
.parity = NO_OS_UART_PAR_NO,
.platform_ops = UART_OPS,
.extra = UART_EXTRA,
}
NO_OS_UART_STOP_1_BIT
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
UART_EXTRA
#define UART_EXTRA
Definition: parameters.h:54
max31827_i2c_ip
const struct no_os_i2c_init_param max31827_i2c_ip
Definition: common_data.c:47
I2C_DEVICE_ID
#define I2C_DEVICE_ID
Definition: parameters.h:57
UART_OPS
#define UART_OPS
Definition: parameters.h:55
UART_BAUDRATE
#define UART_BAUDRATE
Definition: parameters.h:53
NO_OS_UART_PAR_NO
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
UART_DEVICE_ID
#define UART_DEVICE_ID
Definition: parameters.h:52
I2C_EXTRA
#define I2C_EXTRA
Definition: parameters.h:59
I2C_OPS
#define I2C_OPS
Definition: parameters.h:58
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66