![]() |
LibDriver AHT30
1.0.0
AHT30 full-featured driver
|
aht30 link driver modules More...
Macros | |
#define | DRIVER_AHT30_LINK_INIT(HANDLE, STRUCTURE) memset(HANDLE, 0, sizeof(STRUCTURE)) |
initialize aht30_handle_t structure More... | |
#define | DRIVER_AHT30_LINK_IIC_INIT(HANDLE, FUC) (HANDLE)->iic_init = FUC |
link iic_init function More... | |
#define | DRIVER_AHT30_LINK_IIC_DEINIT(HANDLE, FUC) (HANDLE)->iic_deinit = FUC |
link iic_deinit function More... | |
#define | DRIVER_AHT30_LINK_IIC_READ_CMD(HANDLE, FUC) (HANDLE)->iic_read_cmd = FUC |
link iic_read_cmd function More... | |
#define | DRIVER_AHT30_LINK_IIC_WRITE_CMD(HANDLE, FUC) (HANDLE)->iic_write_cmd = FUC |
link iic_write_cmd function More... | |
#define | DRIVER_AHT30_LINK_DELAY_MS(HANDLE, FUC) (HANDLE)->delay_ms = FUC |
link delay_ms function More... | |
#define | DRIVER_AHT30_LINK_DEBUG_PRINT(HANDLE, FUC) (HANDLE)->debug_print = FUC |
link debug_print function More... | |
aht30 link driver modules
#define DRIVER_AHT30_LINK_DEBUG_PRINT | ( | HANDLE, | |
FUC | |||
) | (HANDLE)->debug_print = FUC |
link debug_print function
[in] | HANDLE | pointer to an aht30 handle structure |
[in] | FUC | pointer to a debug_print function address |
Definition at line 168 of file driver_aht30.h.
#define DRIVER_AHT30_LINK_DELAY_MS | ( | HANDLE, | |
FUC | |||
) | (HANDLE)->delay_ms = FUC |
link delay_ms function
[in] | HANDLE | pointer to an aht30 handle structure |
[in] | FUC | pointer to a delay_ms function address |
Definition at line 160 of file driver_aht30.h.
#define DRIVER_AHT30_LINK_IIC_DEINIT | ( | HANDLE, | |
FUC | |||
) | (HANDLE)->iic_deinit = FUC |
link iic_deinit function
[in] | HANDLE | pointer to an aht30 handle structure |
[in] | FUC | pointer to an iic_deinit function address |
Definition at line 136 of file driver_aht30.h.
#define DRIVER_AHT30_LINK_IIC_INIT | ( | HANDLE, | |
FUC | |||
) | (HANDLE)->iic_init = FUC |
link iic_init function
[in] | HANDLE | pointer to an aht30 handle structure |
[in] | FUC | pointer to an iic_init function address |
Definition at line 128 of file driver_aht30.h.
#define DRIVER_AHT30_LINK_IIC_READ_CMD | ( | HANDLE, | |
FUC | |||
) | (HANDLE)->iic_read_cmd = FUC |
link iic_read_cmd function
[in] | HANDLE | pointer to an aht30 handle structure |
[in] | FUC | pointer to an iic_read_cmd function address |
Definition at line 144 of file driver_aht30.h.
#define DRIVER_AHT30_LINK_IIC_WRITE_CMD | ( | HANDLE, | |
FUC | |||
) | (HANDLE)->iic_write_cmd = FUC |
link iic_write_cmd function
[in] | HANDLE | pointer to an aht30 handle structure |
[in] | FUC | pointer to an iic_write_cmd function address |
Definition at line 152 of file driver_aht30.h.
#define DRIVER_AHT30_LINK_INIT | ( | HANDLE, | |
STRUCTURE | |||
) | memset(HANDLE, 0, sizeof(STRUCTURE)) |
initialize aht30_handle_t structure
[in] | HANDLE | pointer to an aht30 handle structure |
[in] | STRUCTURE | aht30_handle_t |
Definition at line 120 of file driver_aht30.h.