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_i2c.h"
37#include "maxim_gpio.h"
38
39#ifdef DEVICE_VARIANT_1
40#define DEV_I2C_ADDRESS 0x1D
41#else
42#define DEV_I2C_ADDRESS 0x1C
43#endif
44
45#if (TARGET_NUM == 32650) || (TARGET_NUM == 78000)
46#define I2C_DEVICE_ID 1
47#elif (TARGET_NUM == 32655)
48#define I2C_DEVICE_ID 2
49#elif (TARGET_NUM == 32665) || (TARGET_NUM == 32660) || (TARGET_NUM == 32690)
50#define I2C_DEVICE_ID 0
51#endif
52
53#define I2C_OPS &max_i2c_ops
54
55#define GPIO_OPS &max_gpio_ops
56
57#if (TARGET_NUM == 32690)
58#define GPIO_RST_PIN_NUM 14
59#define GPIO_RST_PIN_PORT 0
60#elif (TARGET_NUM == 32655)
61#define GPIO_RST_PIN_NUM 9
62#define GPIO_RST_PIN_PORT 1
63#endif
64
66
68
69#endif /* __PARAMETERS_H__ */
struct max_i2c_init_param ltc3220_i2c_extra
Definition parameters.c:36
struct max_gpio_init_param ltc3220_gpio_extra
Definition parameters.c:40
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Definition maxim_i2c.h:58