LibDriver AHT30  1.0.0
AHT30 full-featured driver
aht30 link driver function

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...
 

Detailed Description

aht30 link driver modules

Macro Definition Documentation

◆ DRIVER_AHT30_LINK_DEBUG_PRINT

#define DRIVER_AHT30_LINK_DEBUG_PRINT (   HANDLE,
  FUC 
)    (HANDLE)->debug_print = FUC

link debug_print function

Parameters
[in]HANDLEpointer to an aht30 handle structure
[in]FUCpointer to a debug_print function address
Note
none

Definition at line 168 of file driver_aht30.h.

◆ DRIVER_AHT30_LINK_DELAY_MS

#define DRIVER_AHT30_LINK_DELAY_MS (   HANDLE,
  FUC 
)    (HANDLE)->delay_ms = FUC

link delay_ms function

Parameters
[in]HANDLEpointer to an aht30 handle structure
[in]FUCpointer to a delay_ms function address
Note
none

Definition at line 160 of file driver_aht30.h.

◆ DRIVER_AHT30_LINK_IIC_DEINIT

#define DRIVER_AHT30_LINK_IIC_DEINIT (   HANDLE,
  FUC 
)    (HANDLE)->iic_deinit = FUC

link iic_deinit function

Parameters
[in]HANDLEpointer to an aht30 handle structure
[in]FUCpointer to an iic_deinit function address
Note
none

Definition at line 136 of file driver_aht30.h.

◆ DRIVER_AHT30_LINK_IIC_INIT

#define DRIVER_AHT30_LINK_IIC_INIT (   HANDLE,
  FUC 
)    (HANDLE)->iic_init = FUC

link iic_init function

Parameters
[in]HANDLEpointer to an aht30 handle structure
[in]FUCpointer to an iic_init function address
Note
none

Definition at line 128 of file driver_aht30.h.

◆ DRIVER_AHT30_LINK_IIC_READ_CMD

#define DRIVER_AHT30_LINK_IIC_READ_CMD (   HANDLE,
  FUC 
)    (HANDLE)->iic_read_cmd = FUC

link iic_read_cmd function

Parameters
[in]HANDLEpointer to an aht30 handle structure
[in]FUCpointer to an iic_read_cmd function address
Note
none

Definition at line 144 of file driver_aht30.h.

◆ DRIVER_AHT30_LINK_IIC_WRITE_CMD

#define DRIVER_AHT30_LINK_IIC_WRITE_CMD (   HANDLE,
  FUC 
)    (HANDLE)->iic_write_cmd = FUC

link iic_write_cmd function

Parameters
[in]HANDLEpointer to an aht30 handle structure
[in]FUCpointer to an iic_write_cmd function address
Note
none

Definition at line 152 of file driver_aht30.h.

◆ DRIVER_AHT30_LINK_INIT

#define DRIVER_AHT30_LINK_INIT (   HANDLE,
  STRUCTURE 
)    memset(HANDLE, 0, sizeof(STRUCTURE))

initialize aht30_handle_t structure

Parameters
[in]HANDLEpointer to an aht30 handle structure
[in]STRUCTUREaht30_handle_t
Note
none

Definition at line 120 of file driver_aht30.h.