no-OS
Loading...
Searching...
No Matches
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 I2C_OPS &max_i2c_ops
41#define UART_OPS &max_uart_ops
42
43/* LTC7841 parameters */
44#define LTC7841_I2C_DEVICE_ID 0
45#define LTC7841_I2C_CLK_SPEED 400000
46#define LTC7841_I2C_ADDR 0x20
47/* Unit in MilliOhms*/
48#define RSENSE_VALUE_DC2798A 2
49
51extern const struct max_i2c_init_param ltc7841_i2c_extra;
52extern const struct max_gpio_init_param ltc7841_gpio_extra;
53
54#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