joystick
2.0.0.0
Macros
MikroBUS
Joystick Click Driver
»
I2C Address
Macros
#define
JOYSTCIK_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
JOYSTCIK_MAP_MIKROBUS
#define JOYSTCIK_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.scl = MIKROBUS( mikrobus, MIKROBUS_SCL ); \
cfg.sda = MIKROBUS( mikrobus, MIKROBUS_SDA );\
cfg.int_pin = MIKROBUS( mikrobus, MIKROBUS_INT );\
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST );\
cfg.tst = MIKROBUS( mikrobus, MIKROBUS_CS );