no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
35 #ifndef __PARAMETERS_H__
36 #define __PARAMETERS_H__
37 
38 /******************************************************************************/
39 /***************************** Include Files **********************************/
40 /******************************************************************************/
41 #include "maxim_irq.h"
42 #include "maxim_spi.h"
43 #include "maxim_uart.h"
44 #include "maxim_uart_stdio.h"
45 
46 /******************************************************************************/
47 /********************** Macros and Constants Definitions **********************/
48 /******************************************************************************/
49 #define UART_OPS &max_uart_ops
50 #define UART_EXTRA &ltc2672_uart_extra_ip
52 
53 #define UART_DEVICE_ID 1
54 #define UART_BAUDRATE 57600
55 #define UART_IRQ_ID UART1_IRQn
56 
57 #define LTC2672_VAR LTC2672_12
58 
59 #define SPI_DEVICE_ID 1
60 #define SPI_BAUDRATE 5000000
61 #define SPI_CS 0
62 #define SPI_OPS &max_spi_ops
63 #define SPI_EXTRA &ltc2672_spi_extra_ip
64 
66 
67 #endif /* __PARAMETERS_H__ */
ltc2672_uart_extra_ip
struct max_uart_init_param ltc2672_uart_extra_ip
Definition: parameters.c:43
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
ltc2672_spi_extra_ip
struct max_spi_init_param ltc2672_spi_extra_ip
Definition: parameters.c:47