Go to the documentation of this file.
39 #ifndef __PARAMETERS_H__
40 #define __PARAMETERS_H__
42 #include "maxim_irq.h"
43 #include "maxim_spi.h"
44 #include "maxim_gpio.h"
45 #include "maxim_gpio_irq.h"
46 #include "maxim_uart.h"
47 #include "maxim_uart_stdio.h"
50 #define INTC_DEVICE_ID 0
53 #if (TARGET_NUM == 32690)
54 #define UART_IRQ_ID UART0_IRQn
55 #define UART_DEVICE_ID 0
56 #define UART_BAUDRATE 57600
57 #elif (TARGET_NUM == 32665)
58 #define UART_IRQ_ID UART1_IRQn
59 #define UART_DEVICE_ID 1
60 #define UART_BAUDRATE 57600
62 #define UART_EXTRA &max14906_uart_extra
63 #define UART_OPS &max_uart_ops
65 #if (TARGET_NUM == 32690)
66 #define SPI_DEVICE_ID 4
68 #elif (TARGET_NUM == 32665)
69 #define SPI_DEVICE_ID 1
73 #define SPI_BAUDRATE 100000
74 #define SPI_OPS &max_spi_ops
75 #define SPI_EXTRA &max14906_spi_extra
81 #define GPIO_OPS &max_gpio_ops
82 #define GPIO_EXTRA &max14906_gpio_extra_ip
83 #define GPIO_IRQ_OPS &max_gpio_irq_ops
84 #define GPIO_IRQ_EXTRA NULL
87 #if (TARGET_NUM == 32665)
88 #define GPIO_FAULT_PORT_NUM 0
89 #define GPIO_FAULT_PIN_NUM 5
91 #define NVIC_GPIO_IRQ GPIO0_IRQn
92 #elif (TARGET_NUM == 32690)
93 #define GPIO_FAULT_PORT_NUM 2
94 #define GPIO_FAULT_PIN_NUM 21
96 #define NVIC_GPIO_IRQ GPIO2_IRQn
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:59
Aditional UART config parameters.
Definition: maxim_uart.h:61
GPIO platform specific init parameters.
Definition: maxim_gpio.h:61