precision-converters-firmware
Loading...
Searching...
No Matches
Variables
app_config.c File Reference

Application configurations module. More...

#include <stdbool.h>
#include "app_config.h"
Include dependency graph for app_config.c:

Variables

struct no_os_uart_init_param uart_init_params
 
struct no_os_spi_init_param spi_init_params
 

Detailed Description

Application configurations module.

This module contains the configurations needed for IIO application

Copyright (c) 2025 Analog Devices, Inc.

This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Variable Documentation

◆ spi_init_params

struct no_os_spi_init_param spi_init_params
Initial value:
= {
.device_id = SPI_DEVICE_ID,
.max_speed_hz = MAX_SPI_CLK,
.chip_select = SPI_CSB,
.mode = NO_OS_SPI_MODE_3,
.platform_ops = &spi_ops
}
#define spi_ops
Definition app_config.h:86
#define SPI_CSB
Definition app_config_mbed.h:33
#define SPI_DEVICE_ID
Definition app_config_stm32.h:54
#define spi_init_extra_params
Definition app_config.h:56
#define MAX_SPI_CLK
Definition app_config_mbed.h:74

◆ uart_init_params

struct no_os_uart_init_param uart_init_params
Initial value:
= {
.device_id = 0,
.baud_rate = 230400,
.size = NO_OS_UART_CS_8,
.parity = NO_OS_UART_PAR_NO,
.stop = NO_OS_UART_STOP_1_BIT,
.irq_id = UART_IRQ_ID,
.asynchronous_rx = false,
.platform_ops = &uart_ops,
}
#define uart_extra_init_params
Definition app_config.h:78
#define uart_ops
Definition app_config.h:87
#define UART_IRQ_ID
Definition app_config_stm32.h:43