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

Definitions specific to STM32 platform used by eval-adxrs290-pmdz project. More...

#include "stdio.h"
#include "platform_init.h"
#include "aducm3029_gpio.h"
#include "aducm3029_spi.h"
#include "aducm3029_irq.h"
#include "aducm3029_gpio_irq.h"
#include "aducm3029_timer.h"
#include "aducm3029_uart.h"
#include "no_os_timer.h"
Include dependency graph for parameters.h:

Macros

#define UART_DEVICE_ID   0
 
#define UART_IRQ_ID   ADUCM_UART_INT_ID
 
#define UART_BAUDRATE   115200
 
#define UART_EXTRA   NULL
 
#define UART_OPS   &aducm_uart_ops
 
#define SPI_DEVICE_ID   1
 
#define SPI_BAUDRATE   4000000
 
#define SPI_CS   0
 
#define SPI_OPS   &aducm_spi_ops
 
#define SPI_EXTRA   &adxrs290_spi_extra_ip
 
#define GPIO_SYNC_PIN_NUM   0x10
 
#define GPIO_SYNC_PORT_NUM   0
 
#define GPIO_OPS   &aducm_gpio_ops
 
#define GPIO_EXTRA   NULL
 
#define GPIO_IRQ_ID   ADUCM_XINT_SOFT_CTRL /* External interrupt used (to be able to use high level trigger) */
 
#define GPIO_IRQ_OPS   &aducm_gpio_irq_ops
 
#define GPIO_IRQ_EXTRA   NULL /* Not used for aducm3029 platform */
 
#define ADXRS290_GPIO_TRIG_IRQ_ID   ADI_XINT_EVENT_INT1 /* for EVAL-ADICUP3029 pin number 16 is connected to XINT1 */
 
#define ADXRS290_GPIO_CB_HANDLE   NULL /* Not used for aducm3029 platform */
 
#define ADXRS290_TIMER_DEVICE_ID   1
 
#define ADXRS290_TIMER_FREQ_HZ   200 /* Not used - Used clock source frequency is the one specified in adxrs290_timer_extra_ip */
 
#define ADXRS290_TIMER_TICKS_COUNT   0xffff
 
#define ADXRS290_TIMER_EXTRA   &adxrs290_timer_extra_ip
 
#define TIMER_OPS   &aducm_timer_ops
 
#define ADXRS290_TIMER_IRQ_ID   TMR1_EVT_IRQn /* IRQ id for TMR1 */
 
#define TIMER_IRQ_OPS   &aducm_irq_ops
 
#define ADADXRS290_TIMER_IRQ_EXTRA   NULL /* Not used */
 
#define ADXRS290_TIMER_CB_HANDLE   0 /* Device descriptor is being used as a handle in this case */
 
#define ADXRS290_TIMER_TRIG_IRQ_ID   ADUCM_TIMER1_INT_ID
 

Variables

struct aducm_timer_init_param adxrs290_timer_extra_ip
 
struct aducm_spi_init_param adxrs290_spi_extra_ip
 

Detailed Description

Definitions specific to STM32 platform used by eval-adxrs290-pmdz project.

Author
RBolboac (ramon.nosp@m.a.bo.nosp@m.lboac.nosp@m.a@an.nosp@m.alog..nosp@m.com)

Copyright 2022(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Macro Definition Documentation

◆ ADADXRS290_TIMER_IRQ_EXTRA

#define ADADXRS290_TIMER_IRQ_EXTRA   NULL /* Not used */

◆ ADXRS290_GPIO_CB_HANDLE

#define ADXRS290_GPIO_CB_HANDLE   NULL /* Not used for aducm3029 platform */

◆ ADXRS290_GPIO_TRIG_IRQ_ID

#define ADXRS290_GPIO_TRIG_IRQ_ID   ADI_XINT_EVENT_INT1 /* for EVAL-ADICUP3029 pin number 16 is connected to XINT1 */

◆ ADXRS290_TIMER_CB_HANDLE

#define ADXRS290_TIMER_CB_HANDLE   0 /* Device descriptor is being used as a handle in this case */

◆ ADXRS290_TIMER_DEVICE_ID

#define ADXRS290_TIMER_DEVICE_ID   1

◆ ADXRS290_TIMER_EXTRA

#define ADXRS290_TIMER_EXTRA   &adxrs290_timer_extra_ip

◆ ADXRS290_TIMER_FREQ_HZ

#define ADXRS290_TIMER_FREQ_HZ   200 /* Not used - Used clock source frequency is the one specified in adxrs290_timer_extra_ip */

◆ ADXRS290_TIMER_IRQ_ID

#define ADXRS290_TIMER_IRQ_ID   TMR1_EVT_IRQn /* IRQ id for TMR1 */

◆ ADXRS290_TIMER_TICKS_COUNT

#define ADXRS290_TIMER_TICKS_COUNT   0xffff

◆ ADXRS290_TIMER_TRIG_IRQ_ID

#define ADXRS290_TIMER_TRIG_IRQ_ID   ADUCM_TIMER1_INT_ID

◆ GPIO_EXTRA

#define GPIO_EXTRA   NULL

◆ GPIO_IRQ_EXTRA

#define GPIO_IRQ_EXTRA   NULL /* Not used for aducm3029 platform */

◆ GPIO_IRQ_ID

#define GPIO_IRQ_ID   ADUCM_XINT_SOFT_CTRL /* External interrupt used (to be able to use high level trigger) */

◆ GPIO_IRQ_OPS

#define GPIO_IRQ_OPS   &aducm_gpio_irq_ops

◆ GPIO_OPS

#define GPIO_OPS   &aducm_gpio_ops

◆ GPIO_SYNC_PIN_NUM

#define GPIO_SYNC_PIN_NUM   0x10

◆ GPIO_SYNC_PORT_NUM

#define GPIO_SYNC_PORT_NUM   0

◆ SPI_BAUDRATE

#define SPI_BAUDRATE   4000000

◆ SPI_CS

#define SPI_CS   0

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   1

◆ SPI_EXTRA

#define SPI_EXTRA   &adxrs290_spi_extra_ip

◆ SPI_OPS

#define SPI_OPS   &aducm_spi_ops

◆ TIMER_IRQ_OPS

#define TIMER_IRQ_OPS   &aducm_irq_ops

◆ TIMER_OPS

#define TIMER_OPS   &aducm_timer_ops

◆ UART_BAUDRATE

#define UART_BAUDRATE   115200

◆ UART_DEVICE_ID

#define UART_DEVICE_ID   0

◆ UART_EXTRA

#define UART_EXTRA   NULL

◆ UART_IRQ_ID

#define UART_IRQ_ID   ADUCM_UART_INT_ID

◆ UART_OPS

#define UART_OPS   &aducm_uart_ops

Variable Documentation

◆ adxrs290_spi_extra_ip

struct aducm_spi_init_param adxrs290_spi_extra_ip
extern

◆ adxrs290_timer_extra_ip

struct aducm_timer_init_param adxrs290_timer_extra_ip
extern