no-OS
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 &max14919_uart_extra
46 #define UART_OPS &max_uart_ops
47 
48 // GPIOs
49 #define GPIO_OPS &max_gpio_ops
50 #define GPIO_EXTRA &max14919_gpio_extra_ip
51 #define GPIO_FAULT_PORT_NUM 1
52 #define GPIO_FAULT_PIN_NUM 6
53 #define GPIO_IN_PORT_NUM 1
54 #define GPIO_IN_PIN_NUM(x) (x)
55 #define GPIO_IN_RUSH_PORT_NUM 2
56 #define GPIO_IN_RUSH_PIN_NUM 21
57 #define GPIO_REV_PORT_NUM 1
58 #define GPIO_REV_PIN_NUM 4
59 
62 
63 #endif /* __PARAMETERS_H__ */
max14919_gpio_extra_ip
struct max_gpio_init_param max14919_gpio_extra_ip
Definition: parameters.c:39
max_uart_init_param
Aditional UART config parameters.
Definition: maxim_uart.h:55
max_gpio_init_param
GPIO platform specific init parameters.
Definition: maxim_gpio.h:55
max14919_uart_extra
struct max_uart_init_param max14919_uart_extra
Definition: parameters.c:35