LibDriver HTU21D
Loading...
Searching...
No Matches
htu21d link driver function

htu21d link driver modules More...

Collaboration diagram for htu21d link driver function:

Macros

#define DRIVER_HTU21D_LINK_INIT(HANDLE, STRUCTURE)
 initialize htu21d_handle_t structure
#define DRIVER_HTU21D_LINK_IIC_INIT(HANDLE, FUC)
 link iic_init function
#define DRIVER_HTU21D_LINK_IIC_DEINIT(HANDLE, FUC)
 link iic_deinit function
#define DRIVER_HTU21D_LINK_IIC_WRITE_CMD(HANDLE, FUC)
 link iic_write_cmd function
#define DRIVER_HTU21D_LINK_IIC_READ_CMD(HANDLE, FUC)
 link iic_read_cmd function
#define DRIVER_HTU21D_LINK_IIC_WRITE(HANDLE, FUC)
 link iic_write function
#define DRIVER_HTU21D_LINK_IIC_READ(HANDLE, FUC)
 link iic_read function
#define DRIVER_HTU21D_LINK_IIC_READ_WITH_SCL(HANDLE, FUC)
 link iic_read_with_scl function
#define DRIVER_HTU21D_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_HTU21D_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function

Detailed Description

htu21d link driver modules

Macro Definition Documentation

◆ DRIVER_HTU21D_LINK_DEBUG_PRINT

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

link debug_print function

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

Definition at line 221 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_DELAY_MS

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

link delay_ms function

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

Definition at line 213 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_IIC_DEINIT

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

link iic_deinit function

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

Definition at line 165 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_IIC_INIT

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

link iic_init function

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

Definition at line 157 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_IIC_READ

#define DRIVER_HTU21D_LINK_IIC_READ ( HANDLE,
FUC )
Value:
(HANDLE)->iic_read = FUC

link iic_read function

Parameters
[in]HANDLEpointer to an htu21d handle structure
[in]FUCpointer to an iic_read function address
Note
none

Definition at line 197 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_IIC_READ_CMD

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

link iic_read_cmd function

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

Definition at line 181 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_IIC_READ_WITH_SCL

#define DRIVER_HTU21D_LINK_IIC_READ_WITH_SCL ( HANDLE,
FUC )
Value:
(HANDLE)->iic_read_with_scl = FUC

link iic_read_with_scl function

Parameters
[in]HANDLEpointer to an htu21d handle structure
[in]FUCpointer to an iic_read_with_scl function address
Note
none

Definition at line 205 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_IIC_WRITE

#define DRIVER_HTU21D_LINK_IIC_WRITE ( HANDLE,
FUC )
Value:
(HANDLE)->iic_write = FUC

link iic_write function

Parameters
[in]HANDLEpointer to an htu21d handle structure
[in]FUCpointer to an iic_write function address
Note
none

Definition at line 189 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_IIC_WRITE_CMD

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

link iic_write_cmd function

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

Definition at line 173 of file driver_htu21d.h.

◆ DRIVER_HTU21D_LINK_INIT

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

initialize htu21d_handle_t structure

Parameters
[in]HANDLEpointer to an htu21d handle structure
[in]STRUCTUREhtu21d_handle_t
Note
none

Definition at line 149 of file driver_htu21d.h.