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 &max14919_uart_extra
52 #define UART_OPS &max_uart_ops
53 
54 // GPIOs
55 #define GPIO_OPS &max_gpio_ops
56 #define GPIO_EXTRA &max14919_gpio_extra_ip
57 #define GPIO_FAULT_PORT_NUM 1
58 #define GPIO_FAULT_PIN_NUM 6
59 #define GPIO_IN_PORT_NUM 1
60 #define GPIO_IN_PIN_NUM(x) (x)
61 #define GPIO_IN_RUSH_PORT_NUM 2
62 #define GPIO_IN_RUSH_PIN_NUM 21
63 #define GPIO_REV_PORT_NUM 1
64 #define GPIO_REV_PIN_NUM 4
65 
68 
69 #endif /* __PARAMETERS_H__ */
max14919_gpio_extra_ip
struct max_gpio_init_param max14919_gpio_extra_ip
Definition: parameters.c:45
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
max14919_uart_extra
struct max_uart_init_param max14919_uart_extra
Definition: parameters.c:41