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_spi_init_param max31855_spi_ip
 
struct max31855_init_param max31855_ip
 

Variable Documentation

◆ max31855_ip

struct max31855_init_param max31855_ip
Initial value:
= {
.spi_init = max31855_spi_ip,
}

◆ max31855_spi_ip

const struct no_os_spi_init_param max31855_spi_ip
Initial value:
= {
.device_id = SPI_DEVICE_ID,
.max_speed_hz = SPI_MAX_SPEED,
.chip_select = SPI_CS,
.platform_ops = SPI_OPS,
.extra = SPI_EXTRA,
.parent = NULL,
}

◆ 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
SPI_EXTRA
#define SPI_EXTRA
Definition: parameters.h:75
max31855_spi_ip
const struct no_os_spi_init_param max31855_spi_ip
Definition: common_data.c:48
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
SPI_OPS
#define SPI_OPS
Definition: parameters.h:74
SPI_CS
#define SPI_CS
Definition: parameters.h:70
NO_OS_SPI_BIT_ORDER_MSB_FIRST
@ NO_OS_SPI_BIT_ORDER_MSB_FIRST
Definition: no_os_spi.h:76
NULL
#define NULL
Definition: wrapper.h:64
SPI_DEVICE_ID
#define SPI_DEVICE_ID
Definition: parameters.h:69
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
SPI_MAX_SPEED
#define SPI_MAX_SPEED
Definition: parameters.h:63
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66