LibDriver DHT20
Loading...
Searching...
No Matches
dht20 link driver function

dht20 link driver modules More...

Collaboration diagram for dht20 link driver function:

Macros

#define DRIVER_DHT20_LINK_INIT(HANDLE, STRUCTURE)
 initialize dht20_handle_t structure
#define DRIVER_DHT20_LINK_IIC_INIT(HANDLE, FUC)
 link iic_init function
#define DRIVER_DHT20_LINK_IIC_DEINIT(HANDLE, FUC)
 link iic_deinit function
#define DRIVER_DHT20_LINK_IIC_READ_CMD(HANDLE, FUC)
 link iic_read_cmd function
#define DRIVER_DHT20_LINK_IIC_WRITE_CMD(HANDLE, FUC)
 link iic_write_cmd function
#define DRIVER_DHT20_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_DHT20_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function

Detailed Description

dht20 link driver modules

Macro Definition Documentation

◆ DRIVER_DHT20_LINK_DEBUG_PRINT

#define DRIVER_DHT20_LINK_DEBUG_PRINT ( HANDLE,
FUC )
Value:
(HANDLE)->debug_print = FUC

link debug_print function

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

Definition at line 154 of file driver_dht20.h.

◆ DRIVER_DHT20_LINK_DELAY_MS

#define DRIVER_DHT20_LINK_DELAY_MS ( HANDLE,
FUC )
Value:
(HANDLE)->delay_ms = FUC

link delay_ms function

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

Definition at line 146 of file driver_dht20.h.

◆ DRIVER_DHT20_LINK_IIC_DEINIT

#define DRIVER_DHT20_LINK_IIC_DEINIT ( HANDLE,
FUC )
Value:
(HANDLE)->iic_deinit = FUC

link iic_deinit function

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

Definition at line 122 of file driver_dht20.h.

◆ DRIVER_DHT20_LINK_IIC_INIT

#define DRIVER_DHT20_LINK_IIC_INIT ( HANDLE,
FUC )
Value:
(HANDLE)->iic_init = FUC

link iic_init function

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

Definition at line 114 of file driver_dht20.h.

◆ DRIVER_DHT20_LINK_IIC_READ_CMD

#define DRIVER_DHT20_LINK_IIC_READ_CMD ( HANDLE,
FUC )
Value:
(HANDLE)->iic_read_cmd = FUC

link iic_read_cmd function

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

Definition at line 130 of file driver_dht20.h.

◆ DRIVER_DHT20_LINK_IIC_WRITE_CMD

#define DRIVER_DHT20_LINK_IIC_WRITE_CMD ( HANDLE,
FUC )
Value:
(HANDLE)->iic_write_cmd = FUC

link iic_write_cmd function

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

Definition at line 138 of file driver_dht20.h.

◆ DRIVER_DHT20_LINK_INIT

#define DRIVER_DHT20_LINK_INIT ( HANDLE,
STRUCTURE )
Value:
memset(HANDLE, 0, sizeof(STRUCTURE))

initialize dht20_handle_t structure

Parameters
[in]HANDLEpointer to a dht20 handle structure
[in]STRUCTUREdht20_handle_t
Note
none

Definition at line 106 of file driver_dht20.h.