no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __PARAMETERS_H__
34#define __PARAMETERS_H__
35
36#include "maxim_gpio.h"
37#include "maxim_uart.h"
38#include "maxim_uart_stdio.h"
39#include "maxim_irq.h"
40
41#define UART_DEVICE_ID 0
42#define UART_IRQ_ID UART0_IRQn
43#define UART_BAUDRATE 57600
44#define UART_EXTRA &adg2404_uart_extra_ip
45#define UART_OPS &max_uart_ops
46
47/* GPIO Port and Pin definitions for ADG2404 */
48#define GPIO_A0_PORT 1
49#define GPIO_A0_PIN 6
50#define GPIO_A1_PORT 1
51#define GPIO_A1_PIN 7
52#define GPIO_EN_PORT 1
53#define GPIO_EN_PIN 8
54
55#define GPIO_OPS &max_gpio_ops
56#define GPIO_EXTRA &adg2404_gpio_extra_ip
57
60
61#endif /* __PARAMETERS_H__ */
struct max_uart_init_param adg2404_uart_extra_ip
Definition parameters.c:36
struct max_gpio_init_param adg2404_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