no-OS
Loading...
Searching...
No Matches
parameters.h File Reference

Definitions specific to STM32 platform used by ad405x project. More...

#include "stm32_hal.h"
#include "stm32_irq.h"
#include "stm32_gpio_irq.h"
#include "stm32_gpio.h"
#include "stm32_uart.h"
#include "stm32_uart_stdio.h"
Include dependency graph for parameters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UART_INSTANCE   (&huart3)
 
#define UART_IRQ_ID   USART3_IRQn
 
#define UART_DEVICE_ID   1U
 
#define UART_BAUDRATE   115200
 
#define UART_OPS   &stm32_uart_ops
 
#define UART_EXTRA   &ad405x_uart_extra_ip
 
#define I3C_DEVICE_ID   1U
 
#define EEPROM_IS_I2C   0
 
#define EEPROM_STATIC_ADDR_(x)
 
#define EEPROM_STATIC_ADDR   EEPROM_STATIC_ADDR_(2)
 
#define AD405X_DYN_ADDR   0x32
 
#define AD405X_NO_STATIC_ADDR   0x0
 
#define AD405X_IS_I3C   1
 
#define I3C_OPS   &stm32_i3c_ops
 
#define SPI_OPS   &stm32_spi_ops
 
#define GPIO_OPS   &stm32_gpio_ops
 
#define DMA_OPS   &stm32_gpdma_ops
 
#define SPI_DEVICE_ID   1U
 

Variables

UART_HandleTypeDef huart3
 
struct stm32_uart_init_param ad405x_uart_extra_ip
 

Detailed Description

Definitions specific to STM32 platform used by ad405x project.

Author
Jorge Marques (jorge.nosp@m..mar.nosp@m.ques@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2025(c) Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
  • The use of this software may or may not infringe the patent rights of one or more patent holders. This license does not release you from the requirement that you obtain separate licenses from these patent holders to use this software.
  • Use of the software either in source or binary form, must be run on or directly connected to an Analog Devices Inc. component.

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Macro Definition Documentation

◆ AD405X_DYN_ADDR

#define AD405X_DYN_ADDR   0x32

◆ AD405X_IS_I3C

#define AD405X_IS_I3C   1

◆ AD405X_NO_STATIC_ADDR

#define AD405X_NO_STATIC_ADDR   0x0

◆ DMA_OPS

#define DMA_OPS   &stm32_gpdma_ops

◆ EEPROM_IS_I2C

#define EEPROM_IS_I2C   0

◆ EEPROM_STATIC_ADDR

#define EEPROM_STATIC_ADDR   EEPROM_STATIC_ADDR_(2)

◆ EEPROM_STATIC_ADDR_

#define EEPROM_STATIC_ADDR_ ( x)
Value:
0x50+x

◆ GPIO_OPS

#define GPIO_OPS   &stm32_gpio_ops

◆ I3C_DEVICE_ID

#define I3C_DEVICE_ID   1U

◆ I3C_OPS

#define I3C_OPS   &stm32_i3c_ops

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   1U

◆ SPI_OPS

#define SPI_OPS   &stm32_spi_ops

◆ UART_BAUDRATE

#define UART_BAUDRATE   115200

◆ UART_DEVICE_ID

#define UART_DEVICE_ID   1U

◆ UART_EXTRA

#define UART_EXTRA   &ad405x_uart_extra_ip

◆ UART_INSTANCE

#define UART_INSTANCE   (&huart3)

◆ UART_IRQ_ID

#define UART_IRQ_ID   USART3_IRQn

◆ UART_OPS

#define UART_OPS   &stm32_uart_ops

Variable Documentation

◆ ad405x_uart_extra_ip

struct stm32_uart_init_param ad405x_uart_extra_ip
extern

◆ huart3

UART_HandleTypeDef huart3
extern