magneticrotary2 2.0.0.0
Magnetic Rotary 2 MikroBUS Map

MikroBUS pin mapping of Magnetic Rotary 2 Click driver. More...

Macros

#define MAGNETICROTARY2_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.
 

Enumerations

enum  magneticrotary2_msel_t { MAGNETICROTARY2_MSEL_0 , MAGNETICROTARY2_MSEL_1 }
 Magnetic Rotary 2 Click driver selector. More...
 

Detailed Description

MikroBUS pin mapping of Magnetic Rotary 2 Click driver.

Macro Definition Documentation

◆ MAGNETICROTARY2_MAP_MIKROBUS

#define MAGNETICROTARY2_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 )

MikroBUS pin mapping.

Mapping pins of Magnetic Rotary 2 Click to the selected MikroBUS.

Enumeration Type Documentation

◆ magneticrotary2_msel_t

Magnetic Rotary 2 Click driver selector.

Selects target driver interface of Magnetic Rotary 2 Click driver.

Enumerator
MAGNETICROTARY2_MSEL_0 

MSEL 0 selector.

MAGNETICROTARY2_MSEL_1 

MSEL 1 selector.