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 ltc3337_i2c_ip
 
struct ltc3337_init_param ltc3337_ip
 

Variable Documentation

◆ ltc3337_i2c_ip

const struct no_os_i2c_init_param ltc3337_i2c_ip
Initial value:
= {
.device_id = I2C_DEVICE_ID,
.max_speed_hz = I2C_MAX_SPEED,
.slave_address = LTC3337_I2C_ADDR,
.platform_ops = I2C_OPS,
.extra = I2C_EXTRA,
}

◆ ltc3337_ip

struct ltc3337_init_param ltc3337_ip
Initial value:
= {
.prescale = 10,
.i2c_init = ltc3337_i2c_ip,
}

◆ 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
I2C_DEVICE_ID
#define I2C_DEVICE_ID
Definition: parameters.h:57
LTC3337_I2C_ADDR
#define LTC3337_I2C_ADDR
Definition: ltc3337.h:40
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
ltc3337_i2c_ip
const struct no_os_i2c_init_param ltc3337_i2c_ip
Definition: common_data.c:48
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
I2C_MAX_SPEED
#define I2C_MAX_SPEED
Definition: parameters.h:55