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#define DEV_I2C_ADDRESS 0x1B
40
41#if (TARGET_NUM == 32650) || (TARGET_NUM == 78000)
42#define I2C_DEVICE_ID 1
43#elif (TARGET_NUM == 32655)
44#define I2C_DEVICE_ID 2
45#elif (TARGET_NUM == 32665) || (TARGET_NUM == 32660) || (TARGET_NUM == 32690)
46#define I2C_DEVICE_ID 0
47#endif
48
49#define I2C_OPS &max_i2c_ops
50
51#define GPIO_OPS &max_gpio_ops
52
53#if (TARGET_NUM == 32690)
54#define GPIO_ENRGBS_PIN_NUM 14
55#define GPIO_ENRGBS_PIN_PORT 0
56#elif (TARGET_NUM == 32655)
57#define GPIO_ENRGBS_PIN_NUM 9
58#define GPIO_ENRGBS_PIN_PORT 1
59#endif
60
63
64#endif /* __PARAMETERS_H__ */
struct max_gpio_init_param ltc3208_gpio_extra
Definition parameters.c:40
struct max_i2c_init_param ltc3208_i2c_extra
Definition parameters.c:36
GPIO platform specific init parameters.
Definition maxim_gpio.h:55
Definition maxim_i2c.h:58