Settings for registers of Smoke 2 Click driver.
More...
Settings for registers of Smoke 2 Click driver.
◆ SMOKE2_CHN_1
Smoke 2 description setting to select channel.
Specified setting for select channel Smoke 2 Click driver.
◆ SMOKE2_CHN_2
◆ SMOKE2_CHN_3
◆ SMOKE2_CHN_4
◆ SMOKE2_MODE_IDLE
#define SMOKE2_MODE_IDLE 0 |
Smoke 2 description setting to select mode.
Specified setting for select mdoe Smoke 2 Click driver.
◆ SMOKE2_MODE_NORMAL
#define SMOKE2_MODE_NORMAL 2 |
◆ SMOKE2_MODE_PROGRAM
#define SMOKE2_MODE_PROGRAM 1 |
◆ SMOKE2_READ_CMD
#define SMOKE2_READ_CMD 0 |
Smoke 2 description setting for read and write.
Specified setting for read and write Smoke 2 Click driver.
◆ SMOKE2_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 smoke2_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ SMOKE2_SET_DATA_SAMPLE_MIDDLE
◆ SMOKE2_SET_DEV_ADDR
#define SMOKE2_SET_DEV_ADDR 0x64 |
Smoke 2 device address setting.
Specified setting for device slave address selection of Smoke 2 Click driver.
◆ SMOKE2_SLOT_A
Smoke 2 description setting.
Specified setting for description of Smoke 2 Click driver.
◆ SMOKE2_SLOT_B
◆ SMOKE2_SMOKE_DETECTED
#define SMOKE2_SMOKE_DETECTED 0xCC |
Smoke 2 description setting for detection smoke.
Specified setting for detection smoke Smoke 2 Click driver.
◆ SMOKE2_SMOKE_NOT_DETECTED
#define SMOKE2_SMOKE_NOT_DETECTED 0xDD |
◆ SMOKE2_WRITE_CMD
#define SMOKE2_WRITE_CMD 1 |