Settings for registers of DC Motor 16 Click driver.
More...
Settings for registers of DC Motor 16 Click driver.
◆ DCMOTOR16_DIR_BACKWARD
#define DCMOTOR16_DIR_BACKWARD 1 |
◆ DCMOTOR16_DIR_FORWARD
#define DCMOTOR16_DIR_FORWARD 0 |
DC Motor 16 description setting.
Specified setting for description of DC Motor 16 Click driver.
◆ DCMOTOR16_DISABLE
#define DCMOTOR16_DISABLE 0 |
◆ DCMOTOR16_ENABLE
#define DCMOTOR16_ENABLE 1 |
◆ DCMOTOR16_SET_DATA_SAMPLE_EDGE
Data sample selection.
This macro sets data samples for SPI modules.
- Note
- Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with dcmotor16_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ DCMOTOR16_SET_DATA_SAMPLE_MIDDLE