Settings for registers of Thermostat 4 Click driver.
More...
Settings for registers of Thermostat 4 Click driver.
◆ THERMOSTAT4_HOT_ALERT
#define THERMOSTAT4_HOT_ALERT 0x00 |
◆ THERMOSTAT4_RELAY_OFF
#define THERMOSTAT4_RELAY_OFF 0x00 |
◆ THERMOSTAT4_RELAY_ON
#define THERMOSTAT4_RELAY_ON 0x01 |
Thermostat 4 description setting.
Specified setting for description of Thermostat 4 Click driver.
◆ THERMOSTAT4_RESET_OFF
#define THERMOSTAT4_RESET_OFF 0x00 |
◆ THERMOSTAT4_RESET_ON
#define THERMOSTAT4_RESET_ON 0x01 |
◆ THERMOSTAT4_SET_DATA_SAMPLE_EDGE
#define THERMOSTAT4_SET_DATA_SAMPLE_EDGE SET_SPI_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 thermostat4_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ THERMOSTAT4_SET_DATA_SAMPLE_MIDDLE
#define THERMOSTAT4_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
◆ THERMOSTAT4_WARM_ALERT
#define THERMOSTAT4_WARM_ALERT 0x00 |