no-OS
Macros
parameters.h File Reference

Parameters Definitions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GPIO_RESET_N   0
 
#define GPIO_LDAC_N   1
 
#define GPIO_SPI_QPI   2
 
#define GPIO_ALERT_N   3
 
#define GPIO_SYNC_EVENTS   4
 
#define GPIO_RED   5
 
#define GPIO_GREEN   6
 
#define GPIO_BLUE   7
 
#define TOTAL_GPIOS   8
 
#define GPIO_BANK_0_PINS   32
 
#define GPIO_BANK_1_PINS   22
 
#define GPIO_BANK_2_PINS   32
 
#define GPIO_BANK_3_OFFSET
 
#define GPIO_OFFSET   GPIO_BANK_3_OFFSET
 
#define MAX_BUFF_SAMPLES   10000
 
#define UART_BAUDRATE   115200
 
#define SPI_DEVICE_ID   XPAR_SPI_0_DEVICE_ID
 
#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID
 
#define UART_DEVICE_ID   XPAR_XUARTPS_0_DEVICE_ID
 
#define INTC_DEVICE_ID   XPAR_SCUGIC_SINGLE_DEVICE_ID
 
#define UART_IRQ_ID   XPAR_XUARTPS_1_INTR
 

Detailed Description

Parameters Definitions.

Author
Mihail Chindris (mihai.nosp@m.l.ch.nosp@m.indri.nosp@m.s@an.nosp@m.alog..nosp@m.com)

Copyright 2021(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:

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

◆ GPIO_ALERT_N

#define GPIO_ALERT_N   3

◆ GPIO_BANK_0_PINS

#define GPIO_BANK_0_PINS   32

◆ GPIO_BANK_1_PINS

#define GPIO_BANK_1_PINS   22

◆ GPIO_BANK_2_PINS

#define GPIO_BANK_2_PINS   32

◆ GPIO_BANK_3_OFFSET

#define GPIO_BANK_3_OFFSET
Value:
GPIO_BANK_2_PINS)

◆ GPIO_BLUE

#define GPIO_BLUE   7

◆ GPIO_DEVICE_ID

#define GPIO_DEVICE_ID   XPAR_PS7_GPIO_0_DEVICE_ID

◆ GPIO_GREEN

#define GPIO_GREEN   6

◆ GPIO_LDAC_N

#define GPIO_LDAC_N   1

◆ GPIO_OFFSET

#define GPIO_OFFSET   GPIO_BANK_3_OFFSET

◆ GPIO_RED

#define GPIO_RED   5

◆ GPIO_RESET_N

#define GPIO_RESET_N   0

◆ GPIO_SPI_QPI

#define GPIO_SPI_QPI   2

◆ GPIO_SYNC_EVENTS

#define GPIO_SYNC_EVENTS   4

◆ INTC_DEVICE_ID

#define INTC_DEVICE_ID   XPAR_SCUGIC_SINGLE_DEVICE_ID

◆ MAX_BUFF_SAMPLES

#define MAX_BUFF_SAMPLES   10000

◆ SPI_DEVICE_ID

#define SPI_DEVICE_ID   XPAR_SPI_0_DEVICE_ID

◆ TOTAL_GPIOS

#define TOTAL_GPIOS   8

◆ UART_BAUDRATE

#define UART_BAUDRATE   115200

◆ UART_DEVICE_ID

#define UART_DEVICE_ID   XPAR_XUARTPS_0_DEVICE_ID

◆ UART_IRQ_ID

#define UART_IRQ_ID   XPAR_XUARTPS_1_INTR
GPIO_BANK_0_PINS
#define GPIO_BANK_0_PINS
Definition: parameters.h:65
GPIO_BANK_1_PINS
#define GPIO_BANK_1_PINS
Definition: parameters.h:66