no-OS
projects
adt75
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_i2c.h"
40
#include "maxim_uart.h"
41
#include "maxim_uart_stdio.h"
42
43
/******************************************************************************/
44
/********************** Macros and Constants Definitions **********************/
45
/******************************************************************************/
46
47
#ifdef IIO_SUPPORT
48
#define INTC_DEVICE_ID 0
49
#define UART_IRQ_ID UART0_IRQn
50
#endif
51
52
#define UART_DEVICE_ID 0
53
#define UART_BAUDRATE 57600
54
#define UART_EXTRA &adt75_uart_extra_ip
55
#define UART_OPS &max_uart_ops
56
57
#define I2C_DEVICE_ID 1
58
#define I2C_OPS &max_i2c_ops
59
#define I2C_EXTRA &adt75_i2c_extra
60
61
extern
struct
max_uart_init_param
adt75_uart_extra_ip
;
62
extern
struct
max_i2c_init_param
adt75_i2c_extra
;
63
64
#endif
/* __PARAMETERS_H__ */
max_i2c_init_param
Definition:
maxim_i2c.h:58
adt75_i2c_extra
struct max_i2c_init_param adt75_i2c_extra
Definition:
parameters.c:56
max_uart_init_param
Aditional UART config parameters.
Definition:
maxim_uart.h:55
adt75_uart_extra_ip
struct max_uart_init_param adt75_uart_extra_ip
Definition:
parameters.c:42
Generated by
1.8.17