no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __PARAMETERS_H__
34#define __PARAMETERS_H__
35
36#include "maxim_irq.h"
37#include "maxim_spi.h"
38#include "maxim_gpio.h"
39#include "maxim_uart.h"
40#include "maxim_uart_stdio.h"
41
42#define INTC_DEVICE_ID 0
43
44#define UART_IRQ_ID UART1_IRQn
45#define UART_DEVICE_ID 2
46#define UART_BAUDRATE 115200
47#define UART_EXTRA &ltc7871_uart_extra
48#define UART_OPS &max_uart_ops
49
50#define SPI_DEVICE_ID 0
51#define SPI_CS 1
52#define SPI_BAUDRATE 100000
53#define SPI_OPS &max_spi_ops
54#define SPI_EXTRA &ltc7871_spi_extra
55
56#define GPIO_PWMEN_PORT_NUM 4
57#define GPIO_PWMEN_PIN_NUM 0
58
59#define GPIO_OPS &max_gpio_ops
60#define GPIO_EXTRA &ltc7871_gpio_extra
61
65
66#endif /* __PARAMETERS_H__ */
struct max_gpio_init_param ltc7871_gpio_extra
Definition parameters.c:45
struct max_uart_init_param ltc7871_uart_extra
Definition parameters.c:35
struct max_spi_init_param ltc7871_spi_extra
Definition parameters.c:39
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Maxim specific SPI initialization parameters.
Definition maxim_spi.h:53
Aditional UART config parameters.
Definition maxim_uart.h:55