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