no-OS
projects
eval-adxl38x
src
platform
maxim
parameters.h
Go to the documentation of this file.
1
/***************************************************************************/
34
#ifndef __PARAMETERS_H__
35
#define __PARAMETERS_H__
36
37
/******************************************************************************/
38
/***************************** Include Files **********************************/
39
/******************************************************************************/
40
#include "maxim_irq.h"
41
#include "maxim_spi.h"
42
#include "maxim_gpio.h"
43
#include "maxim_uart.h"
44
#include "maxim_uart_stdio.h"
45
46
/******************************************************************************/
47
/********************** Macros and Constants Definitions **********************/
48
/******************************************************************************/
49
50
#define UART_IRQ_ID UART0_IRQn
51
#define UART_DEVICE_ID 0
52
#define UART_BAUDRATE 57600
53
#define UART_EXTRA &adxl38x_uart_extra_ip
54
#define UART_OPS &max_uart_ops
55
56
#if (TARGET_NUM == 78000)
57
#define SPI_DEVICE_ID 1
58
#define SPI_CS 1
59
#endif
60
61
#define SPI_BAUDRATE 8000000
62
#define SPI_OPS &max_spi_ops
63
#define SPI_EXTRA &adxl38x_spi_extra_ip
64
65
extern
struct
max_uart_init_param
adxl38x_uart_extra_ip
;
66
extern
struct
max_spi_init_param
adxl38x_spi_extra_ip
;
67
68
#endif
/* __PARAMETERS_H__ */
adxl38x_uart_extra_ip
struct max_uart_init_param adxl38x_uart_extra_ip
Definition:
parameters.c:42
adxl38x_spi_extra_ip
struct max_spi_init_param adxl38x_spi_extra_ip
Definition:
parameters.c:46
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
Generated by
1.8.17