no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __PARAMETERS_H__
34#define __PARAMETERS_H__
35
36#include "maxim_irq.h"
37#include "maxim_gpio.h"
38#include "maxim_gpio_irq.h"
39#include "maxim_uart.h"
40#include "maxim_uart_stdio.h"
41
42#define UART_IRQ_ID UART0_IRQn
43#define UART_DEVICE_ID 0
44#define UART_BAUDRATE 57600
45#define UART_EXTRA &max14914_uart_extra
46#define UART_OPS &max_uart_ops
47
48// GPIOs
49#define GPIO_OPS &max_gpio_ops
50#define GPIO_EXTRA &max14914_gpio_extra_ip
51#define GPIO_FAULT_PORT_NUM 2
52#define GPIO_FAULT_PIN_NUM 21
53#define GPIO_DOILVL_PORT_NUM 1
54#define GPIO_DOILVL_PIN_NUM 0
55#define GPIO_DI_EN_PORT_NUM 1
56#define GPIO_DI_EN_PIN_NUM 1
57#define GPIO_IN_PORT_NUM 1
58#define GPIO_IN_PIN_NUM 2
59#define GPIO_PP_PORT_NUM 1
60#define GPIO_PP_PIN_NUM 3
61
64
65#endif /* __PARAMETERS_H__ */
struct max_gpio_init_param max14914_gpio_extra_ip
Definition parameters.c:39
struct max_uart_init_param max14914_uart_extra
Definition parameters.c:35
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Aditional UART config parameters.
Definition maxim_uart.h:55