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

Variables

struct no_os_spi_init_param sip
 
struct adxl313_init_param adxl313_user_init
 

Variable Documentation

◆ adxl313_user_init

struct adxl313_init_param adxl313_user_init
Initial value:
= {
.dev_type = ID_ADXL313,
.comm_type = ADXL313_SPI_COMM,
}

◆ sip

Initial value:
= {
.device_id = SPI_DEVICE_ID,
.max_speed_hz = SPI_MAX_HZ,
.extra = &xsip,
.platform_ops = SPI_OPS,
.chip_select = SPI_CS,
}
xsip
struct stm32_spi_init_param xsip
Definition: parameters.c:54
ADXL313_SPI_COMM
@ ADXL313_SPI_COMM
Definition: adxl313.h:261
SPI_MAX_HZ
#define SPI_MAX_HZ
Definition: common_data.h:65
SPI_CS
#define SPI_CS
Definition: parameters.h:66
SPI_OPS
#define SPI_OPS
Definition: parameters.h:56
ID_ADXL313
@ ID_ADXL313
Definition: adxl313.h:252
SPI_DEVICE_ID
#define SPI_DEVICE_ID
Definition: parameters.h:76
NO_OS_SPI_BIT_ORDER_MSB_FIRST
@ NO_OS_SPI_BIT_ORDER_MSB_FIRST
Definition: no_os_spi.h:81
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:66