no-OS
projects
ad74413r
src
platform
maxim
parameters.h
Go to the documentation of this file.
1
/***************************************************************************/
39
#ifndef __PARAMETERS_H__
40
#define __PARAMETERS_H__
41
42
/******************************************************************************/
43
/***************************** Include Files **********************************/
44
/******************************************************************************/
45
#include "maxim_irq.h"
46
#include "maxim_spi.h"
47
#include "maxim_gpio.h"
48
#include "maxim_uart.h"
49
#include "maxim_uart_stdio.h"
50
51
/******************************************************************************/
52
/********************** Macros and Constants Definitions **********************/
53
/******************************************************************************/
54
55
#ifdef IIO_SUPPORT
56
#define INTC_DEVICE_ID 0
57
#endif
58
#define UART_IRQ_ID UART0_IRQn
59
60
#define UART_DEVICE_ID 0
61
#define UART_BAUDRATE 57600
62
#define UART_OPS &max_uart_ops
63
#define UART_EXTRA &ad74413r_uart_extra_ip
64
65
#define SPI_DEVICE_ID 1
66
#define SPI_BAUDRATE 1000000
67
#define SPI_CS 1
68
#define SPI_OPS &max_spi_ops
69
#define SPI_EXTRA &ad74413r_spi_extra_ip
70
71
extern
struct
max_uart_init_param
ad74413r_uart_extra_ip
;
72
extern
struct
max_spi_init_param
ad74413r_spi_extra_ip
;
73
74
#endif
/* __PARAMETERS_H__ */
ad74413r_uart_extra_ip
struct max_uart_init_param ad74413r_uart_extra_ip
Definition:
parameters.c:48
max_spi_init_param
Maxim specific SPI initialization parameters.
Definition:
maxim_spi.h:59
max_uart_init_param
Aditional UART config parameters.
Definition:
maxim_uart.h:61
ad74413r_spi_extra_ip
struct max_spi_init_param ad74413r_spi_extra_ip
Definition:
parameters.c:52
Generated by
1.8.17