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_gpio.h"
37#include "maxim_i2c.h"
38#include "maxim_uart.h"
39
40#define INTC_DEVICE_ID 0
41#define I2C_OPS &max_i2c_ops
42#define UART_OPS &max_uart_ops
43
44/* LTC7841 parameters */
45#define LTC7841_I2C_DEVICE_ID 0
46#define LTC7841_I2C_CLK_SPEED 400000
47#define LTC7841_I2C_ADDR 0x20
48/* Unit in MilliOhms*/
49#define RSENSE_VALUE_DC2798A 2
50
52extern const struct max_i2c_init_param ltc7841_i2c_extra;
53extern const struct max_gpio_init_param ltc7841_gpio_extra;
54
55#endif /* __PARAMETERS_H__ */
struct xil_uart_init_param uart_extra_ip
Definition parameters.c:37
const struct max_i2c_init_param ltc7841_i2c_extra
Definition parameters.c:42
const struct max_gpio_init_param ltc7841_gpio_extra
Definition parameters.c:46
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Definition maxim_i2c.h:58
Aditional UART config parameters.
Definition maxim_uart.h:55