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