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/* GPIO Port and Pin definitions for ADL8113 */
49#define GPIO_VA_PORT 1
50#define GPIO_VA_PIN 6
51#define GPIO_VB_PORT 1
52#define GPIO_VB_PIN 7
53
54/* LED definitions (active low on MAX32655FTHR) */
55#define LED_RED_PORT 0
56#define LED_RED_PIN 18
57#define LED_GREEN_PORT 0
58#define LED_GREEN_PIN 19
59#define LED_BLUE_PORT 0
60#define LED_BLUE_PIN 26
61
62/* Button definitions */
63#define BUTTON1_PORT 0
64#define BUTTON1_PIN 2
65#define BUTTON2_PORT 0
66#define BUTTON2_PIN 3
67
68#define GPIO_OPS &max_gpio_ops
69#define GPIO_EXTRA &adl8113_gpio_extra_ip
70
73
74#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