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 lt8491_i2c_ip
 
struct lt8491_init_param lt8491_ip
 

Variable Documentation

◆ lt8491_i2c_ip

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

◆ lt8491_ip

struct lt8491_init_param lt8491_ip
Initial value:
= {
.i2c_init_param = lt8491_i2c_ip,
.rsense1_micro_ohms = 5000,
.rimon_out_ohms = 124000,
.rsense2_micro_ohms = 3000,
.rdaco_ohms = 64900,
.rfbout1_ohms = 113000,
.rfbout2_ohms = 10000,
.rdaci_ohms = 7000,
.rfbin2_ohms = 3480,
.rfbin1_ohms = 10200,
}

◆ 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
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
lt8491_i2c_ip
const struct no_os_i2c_init_param lt8491_i2c_ip
Definition: common_data.c:47
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