no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
34
35#ifndef __PARAMETERS_H__
36#define __PARAMETERS_H__
37
38#include "maxim_gpio.h"
39#include "maxim_uart.h"
40#include "maxim_uart_stdio.h"
41
42#define UART_DEVICE_ID 0
43#define UART_BAUDRATE 57600
44#define UART_EXTRA &adgm3121_uart_extra_ip
45#define UART_OPS &max_uart_ops
46
47#define GPIO_OPS &max_gpio_ops
48#define GPIO_EXTRA &adgm3121_gpio_extra_ip
49
50#define GPIO_PIN_SPI_PIN_NUM 19
51#define GPIO_PIN_SPI_PORT_NUM 0
52
53#define GPIO_SW1_PORT_NUM 1
54#define GPIO_SW1_PIN_NUM 6
55#define GPIO_SW2_PORT_NUM 1
56#define GPIO_SW2_PIN_NUM 7
57#define GPIO_SW3_PORT_NUM 1
58#define GPIO_SW3_PIN_NUM 8
59#define GPIO_SW4_PORT_NUM 1
60#define GPIO_SW4_PIN_NUM 9
61
64
65#endif /* __PARAMETERS_H__ */
struct max_uart_init_param adgm3121_uart_extra_ip
Definition parameters.c:36
struct max_gpio_init_param adgm3121_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