no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
36
37#include "maxim_irq.h"
38#include "maxim_spi.h"
39#include "maxim_uart.h"
40#include "maxim_uart_stdio.h"
41
42#if (TARGET_NUM == 32690)
43#define UART_IRQ_ID UART0_IRQn
44#define UART_DEVICE_ID 0
45#define SPI_DEVICE_ID 4
46#elif (TARGET_NUM == 32665)
47#define UART_IRQ_ID UART1_IRQn
48#define UART_DEVICE_ID 1
49#define SPI_DEVICE_ID 1
50#elif (TARGET_NUM == 32655)
51#define UART_IRQ_ID UART0_IRQn
52#define UART_DEVICE_ID 0
53#define SPI_DEVICE_ID 0
54#endif
55
56#define UART_BAUDRATE 115200
57#define UART_EXTRA &ad7124_uart_extra_ip
58#define UART_OPS &max_uart_ops
59
60#define SPI_CS 0
61#define SPI_BAUDRATE 1000000
62#define SPI_OPS &max_spi_ops
63#define SPI_EXTRA &ad7124_spi_extra_ip
64
67
68#endif /* __PARAMETERS_H__ */
struct aducm_spi_init_param ad7124_spi_extra_ip
Definition parameters.c:37
struct max_uart_init_param ad7124_uart_extra_ip
Definition parameters.c:37
Maxim specific SPI initialization parameters.
Definition maxim_spi.h:53
Aditional UART config parameters.
Definition maxim_uart.h:55