digipot5
2.0.0.0
Macros
MikroBUS
DIGI POT 5 Click Driver
»
Macros
Macros
#define
DIGIPOT5_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
DIGIPOT5_MAP_MIKROBUS
#define DIGIPOT5_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.rst = MIKROBUS( mikrobus, MIKROBUS_RST ); \
cfg.cs = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.sck = MIKROBUS( mikrobus, MIKROBUS_SCK ); \
cfg.sdo = MIKROBUS( mikrobus, MIKROBUS_MISO ); \
cfg.sdi = MIKROBUS( mikrobus, MIKROBUS_MOSI )