no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
36 
37 /******************************************************************************/
38 /***************************** Include Files **********************************/
39 /******************************************************************************/
40 #include "stdio.h"
41 #include "maxim_timer.h"
42 #include "maxim_irq.h"
43 #include "maxim_uart.h"
44 #include "maxim_gpio.h"
45 
46 /******************************************************************************/
47 /********************** Macros and Constants Definitions **********************/
48 /******************************************************************************/
49 
50 #define UART_CONFIG_BAUDRATE 115200
51 #define UART_CONFIG_IRQ_ID UART2_IRQn
52 #define UART_DEVICE_ID 2
53 #define UART_EXTRA &uart_extra_ip
54 
55 #define GPIO_PORT 3
56 #define GPIO_NR 9
57 #define GPIO_EXTRA &gpio_extra_ip
58 
59 #define TIMER_ID 1
60 #define TIMER_FREQ 32000
61 
62 #define IRQ_OPS &max_irq_ops
63 #define UART_OPS &max_uart_ops
64 #define TIMER_OPS &max_timer_ops
65 #define GPIO_OPS &max_gpio_ops
66 #define TIMER_EXTRA NULL
67 
68 #define WIFI_SW_RESET false
69 
72 
73 #endif /* __PARAMETERS_H__ */
gpio_extra_ip
struct xil_gpio_init_param gpio_extra_ip
Definition: parameters.c:63
uart_extra_ip
struct xil_uart_init_param uart_extra_ip
Definition: parameters.c:40
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