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