no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33
34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
36
37#include "maxim_irq.h"
38#include "maxim_spi.h"
39#include "maxim_gpio.h"
40#include "maxim_uart.h"
41#include "maxim_uart_stdio.h"
42
43#define UART_OPS &max_uart_ops
44#define UART_EXTRA &max11205_uart_extra_ip
46
47#define INTC_DEVICE_ID 0
48#define UART_DEVICE_ID 0
49#define UART_BAUDRATE 57600
50#define UART_IRQ_ID UART0_IRQn
51
52#define MAX11205_VREF_MV 3300
53
54#define SPI_DEVICE_ID 0
55#define SPI_BAUDRATE 5000000
56#define SPI_CS 0
57#define SPI_OPS &max_spi_ops
58#define SPI_EXTRA &max11205_spi_extra_ip
59
60#define GPIO_OPS &max_gpio_ops
61#define GPIO_EXTRA &max11205_gpio_extra_ip
62#if (TARGET_NUM != 32655)
63#error PIN and PORT configuration have to be adapted for the used target.
64#else
65#define GPIO_SYNC_PIN_NUM 6
66#define GPIO_SYNC_PORT_NUM 1
67#endif
68
69#define GPIO_IRQ_OPS &max_gpio_irq_ops
70#define GPIO_CTRL_IRQ_ID 1 /* For PORT1 */
71#define GPIO_IRQ_EXTRA &max11205_gpio_extra_ip
72#define NVIC_GPIO_IRQ GPIO1_IRQn /* For PORT1 */
73
76
77#endif /* __PARAMETERS_H__ */
struct max_uart_init_param max11205_uart_extra_ip
Definition parameters.c:36
struct max_spi_init_param max11205_spi_extra_ip
Definition parameters.c:44
struct max_gpio_init_param max11205_gpio_extra_ip
Definition parameters.c:40
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