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

Variables

struct no_os_uart_init_param uip
 
const struct no_os_i2c_init_param ltc4162l_i2c_ip
 
struct ltc4162l_init_param ltc4162l_ip
 

Variable Documentation

◆ ltc4162l_i2c_ip

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

◆ ltc4162l_ip

struct ltc4162l_init_param ltc4162l_ip
Initial value:
= {
.i2c_init_param = ltc4162l_i2c_ip,
.rsnsb = 1000,
.rsnsi = 1000,
.id = ID_LTC4162L,
}

◆ uip

Initial value:
= {
.device_id = UART_DEVICE_ID,
.irq_id = UART_IRQ_ID,
.asynchronous_rx = true,
.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
ltc4162l_i2c_ip
const struct no_os_i2c_init_param ltc4162l_i2c_ip
Definition: common_data.c:48
I2C_DEVICE_ID
#define I2C_DEVICE_ID
Definition: parameters.h:57
UART_OPS
#define UART_OPS
Definition: parameters.h:55
UART_IRQ_ID
#define UART_IRQ_ID
Definition: parameters.h:50
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
ID_LTC4162L
@ ID_LTC4162L
Definition: ltc4162l.h:121