no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33
34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
36
37#include "maxim_gpio.h"
38#include "maxim_uart.h"
39#include "maxim_uart_stdio.h"
40#include "maxim_irq.h"
41
42#define UART_DEVICE_ID 0
43#define UART_IRQ_ID UART0_IRQn
44#define UART_BAUDRATE 57600
45#define UART_EXTRA &adl8113_uart_extra_ip
46#define UART_OPS &max_uart_ops
47
48#ifdef IIO_SUPPORT
49#define INTC_DEVICE_ID 0
50#endif
51
52/* GPIO Port and Pin definitions for ADL8113 */
53#define GPIO_VA_PORT 1
54#define GPIO_VA_PIN 6
55#define GPIO_VB_PORT 1
56#define GPIO_VB_PIN 7
57
58/* LED definitions (active low on MAX32655FTHR) */
59#define LED_RED_PORT 0
60#define LED_RED_PIN 18
61#define LED_GREEN_PORT 0
62#define LED_GREEN_PIN 19
63#define LED_BLUE_PORT 0
64#define LED_BLUE_PIN 26
65
66/* Button definitions */
67#define BUTTON1_PORT 0
68#define BUTTON1_PIN 2
69#define BUTTON2_PORT 0
70#define BUTTON2_PIN 3
71
72#define GPIO_OPS &max_gpio_ops
73#define GPIO_EXTRA &adl8113_gpio_extra_ip
74
77
78#endif /* __PARAMETERS_H__ */
struct max_uart_init_param adl8113_uart_extra_ip
Definition parameters.c:36
struct max_gpio_init_param adl8113_gpio_extra_ip
Definition parameters.c:40
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Aditional UART config parameters.
Definition maxim_uart.h:55