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 == 32655)
42#define I2C_DEVICE_ID 2
43#elif (TARGET_NUM == 32690)
44#define I2C_DEVICE_ID 0
45#endif
46
47#define I2C_OPS &max_i2c_ops
48
49#define GPIO_OPS &max_gpio_ops
50
51#if (TARGET_NUM == 32690)
52#define GPIO_ENRGBS_PIN_NUM 14
53#define GPIO_ENRGBS_PIN_PORT 0
54#elif (TARGET_NUM == 32655)
55#define GPIO_ENRGBS_PIN_NUM 9
56#define GPIO_ENRGBS_PIN_PORT 1
57#endif
58
61
62#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