Go to the documentation of this file.
33 #ifndef __PARAMETERS_H__
34 #define __PARAMETERS_H__
36 #include "maxim_irq.h"
37 #include "maxim_spi.h"
38 #include "maxim_gpio.h"
39 #include "maxim_uart.h"
40 #include "maxim_uart_stdio.h"
43 #define INTC_DEVICE_ID 0
46 #if (TARGET_NUM == 32690)
47 #define UART_IRQ_ID UART0_IRQn
48 #define UART_DEVICE_ID 0
49 #define UART_BAUDRATE 57600
50 #elif (TARGET_NUM == 32665)
51 #define UART_IRQ_ID UART1_IRQn
52 #define UART_DEVICE_ID 1
53 #define UART_BAUDRATE 57600
55 #define UART_EXTRA &max22200_uart_extra
56 #define UART_OPS &max_uart_ops
58 #if (TARGET_NUM == 32690)
59 #define SPI_DEVICE_ID 4
61 #elif (TARGET_NUM == 32665)
62 #define SPI_DEVICE_ID 1
66 #define SPI_BAUDRATE 1000000
67 #define SPI_OPS &max_spi_ops
68 #define SPI_EXTRA &max22200_spi_extra
74 #define GPIO_OPS &max_gpio_ops
75 #define GPIO_EXTRA &max22200_gpio_extra_ip
77 #if (TARGET_NUM == 32665)
78 #define GPIO_CMD_PORT_NUM 0
79 #define GPIO_CMD_PIN_NUM 5
80 #elif (TARGET_NUM == 32690)
81 #define GPIO_CMD_PORT_NUM 2
82 #define GPIO_CMD_PIN_NUM 21
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:53
Aditional UART config parameters.
Definition: maxim_uart.h:55
GPIO platform specific init parameters.
Definition: maxim_gpio.h:55