33#ifndef __PARAMETERS_H__
34#define __PARAMETERS_H__
38#include "maxim_gpio.h"
39#include "maxim_uart.h"
40#include "maxim_uart_stdio.h"
42#if (TARGET_NUM == 32690)
43#define UART_IRQ_ID UART0_IRQn
44#define UART_DEVICE_ID 0
46#define SPI_DEVICE_ID 4
48#define GPIO_RSTB_PORT_NUM 1
49#define GPIO_RSTB_PIN_NUM 6
50#elif (TARGET_NUM == 32665)
51#define UART_IRQ_ID UART1_IRQn
52#define UART_DEVICE_ID 1
54#define SPI_DEVICE_ID 1
56#define GPIO_RSTB_PORT_NUM 0
57#define GPIO_RSTB_PIN_NUM 5
60#define UART_BAUDRATE 57600
61#define UART_EXTRA &max22017_uart_extra
62#define UART_OPS &max_uart_ops
65#define SPI_BAUDRATE 100000
66#define SPI_OPS &max_spi_ops
67#define SPI_EXTRA &max22017_spi_extra
69#define GPIO_OPS &max_gpio_ops
70#define GPIO_EXTRA &max22017_gpio_extra_ip
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Maxim specific SPI initialization parameters.
Definition maxim_spi.h:53
Aditional UART config parameters.
Definition maxim_uart.h:55