LibDriver TM1637
Loading...
Searching...
No Matches
tm1637 link driver function

tm1637 link driver modules More...

Collaboration diagram for tm1637 link driver function:

Macros

#define DRIVER_TM1637_LINK_INIT(HANDLE, STRUCTURE)
 initialize tm1637_handle_t structure
#define DRIVER_TM1637_LINK_IIC_INIT(HANDLE, FUC)
 link iic_init function
#define DRIVER_TM1637_LINK_IIC_DEINIT(HANDLE, FUC)
 link iic_deinit function
#define DRIVER_TM1637_LINK_IIC_WRITE_COMMAND_CUSTOM(HANDLE, FUC)
 link iic_write_cmd_custom function
#define DRIVER_TM1637_LINK_IIC_READ_COMMAND_CUSTOM(HANDLE, FUC)
 link iic_read_cmd_custom function
#define DRIVER_TM1637_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_TM1637_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function

Detailed Description

tm1637 link driver modules

Macro Definition Documentation

◆ DRIVER_TM1637_LINK_DEBUG_PRINT

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

link debug_print function

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

Definition at line 206 of file driver_tm1637.h.

◆ DRIVER_TM1637_LINK_DELAY_MS

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

link delay_ms function

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

Definition at line 198 of file driver_tm1637.h.

◆ DRIVER_TM1637_LINK_IIC_DEINIT

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

link iic_deinit function

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

Definition at line 174 of file driver_tm1637.h.

◆ DRIVER_TM1637_LINK_IIC_INIT

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

link iic_init function

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

Definition at line 166 of file driver_tm1637.h.

◆ DRIVER_TM1637_LINK_IIC_READ_COMMAND_CUSTOM

#define DRIVER_TM1637_LINK_IIC_READ_COMMAND_CUSTOM ( HANDLE,
FUC )
Value:
(HANDLE)->iic_read_cmd_custom = FUC

link iic_read_cmd_custom function

Parameters
[in]HANDLEpointer to a tm1637 handle structure
[in]FUCpointer to an iic_read_cmd_custom function address
Note
none

Definition at line 190 of file driver_tm1637.h.

◆ DRIVER_TM1637_LINK_IIC_WRITE_COMMAND_CUSTOM

#define DRIVER_TM1637_LINK_IIC_WRITE_COMMAND_CUSTOM ( HANDLE,
FUC )
Value:
(HANDLE)->iic_write_cmd_custom = FUC

link iic_write_cmd_custom function

Parameters
[in]HANDLEpointer to a tm1637 handle structure
[in]FUCpointer to an iic_write_cmd_custom function address
Note
none

Definition at line 182 of file driver_tm1637.h.

◆ DRIVER_TM1637_LINK_INIT

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

initialize tm1637_handle_t structure

Parameters
[in]HANDLEpointer to a tm1637 handle structure
[in]STRUCTUREtm1637_handle_t
Note
none

Definition at line 158 of file driver_tm1637.h.