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_gpio_irq.h"
40 #include "maxim_uart.h"
41 #include "maxim_uart_stdio.h"
44 #if (TARGET_NUM == 32690)
45 #define UART_IRQ_ID UART0_IRQn
46 #define UART_DEVICE_ID 0
47 #define UART_BAUDRATE 57600
49 #define UART_EXTRA &ade7816_uart_extra
50 #define UART_OPS &max_uart_ops
52 #if (TARGET_NUM == 32690)
53 #define SPI_DEVICE_ID 4
57 #define SPI_BAUDRATE 100000
58 #define SPI_OPS &max_spi_ops
59 #define SPI_EXTRA &ade7816_spi_extra
61 #if (TARGET_NUM == 32690)
62 #define GPIO_RESET_PORT_NUM 1
63 #define GPIO_RESET_PIN_NUM 6
65 #define GPIO_IRQ0_PORT_NUM 2
66 #define GPIO_IRQ0_PIN_NUM 21
69 #define GPIO_HANDLE MXC_GPIO_GET_GPIO(2)
71 #define GPIO_OPS &max_gpio_ops
72 #define GPIO_EXTRA &ade7816_gpio_extra
74 #define GPIO_IRQ_OPS &max_gpio_irq_ops
75 #define GPIO_IRQ_EXTRA &ade7816_gpio_extra
77 #define NVIC_GPIO_IRQ GPIO2_IRQn
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