mcp16331
2.0.0.0
Topics
|
Macros
MikroBUS
MCP16331 Click Driver
»
Macros
Topics
Error Code
Macros
#define
MCP16331_MAP_MIKROBUS
(cfg, mikrobus)
Detailed Description
Macro Definition Documentation
◆
MCP16331_MAP_MIKROBUS
#define MCP16331_MAP_MIKROBUS
(
cfg,
mikrobus
)
Value:
cfg.miso = MIKROBUS( mikrobus, MIKROBUS_MISO ); \
cfg.mosi = MIKROBUS( mikrobus, MIKROBUS_MOSI ); \
cfg.sck = MIKROBUS( mikrobus, MIKROBUS_SCK ); \
cfg.cs = MIKROBUS( mikrobus, MIKROBUS_CS ); \
cfg.adc_out = MIKROBUS( mikrobus, MIKROBUS_AN ); \
cfg.en = MIKROBUS( mikrobus, MIKROBUS_RST ); \