LibDriver DS1307
Loading...
Searching...
No Matches
ds1307 link driver function

ds1307 link driver modules More...

Collaboration diagram for ds1307 link driver function:

Macros

#define DRIVER_DS1307_LINK_INIT(HANDLE, STRUCTURE)
 initialize ds1307_handle_t structure
#define DRIVER_DS1307_LINK_IIC_INIT(HANDLE, FUC)
 link iic_init function
#define DRIVER_DS1307_LINK_IIC_DEINIT(HANDLE, FUC)
 link iic_deinit function
#define DRIVER_DS1307_LINK_IIC_READ(HANDLE, FUC)
 link iic_read function
#define DRIVER_DS1307_LINK_IIC_WRITE(HANDLE, FUC)
 link iic_write function
#define DRIVER_DS1307_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_DS1307_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function

Detailed Description

ds1307 link driver modules

Macro Definition Documentation

◆ DRIVER_DS1307_LINK_DEBUG_PRINT

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

link debug_print function

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

Definition at line 226 of file driver_ds1307.h.

◆ DRIVER_DS1307_LINK_DELAY_MS

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

link delay_ms function

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

Definition at line 218 of file driver_ds1307.h.

◆ DRIVER_DS1307_LINK_IIC_DEINIT

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

link iic_deinit function

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

Definition at line 194 of file driver_ds1307.h.

◆ DRIVER_DS1307_LINK_IIC_INIT

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

link iic_init function

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

Definition at line 186 of file driver_ds1307.h.

◆ DRIVER_DS1307_LINK_IIC_READ

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

link iic_read function

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

Definition at line 202 of file driver_ds1307.h.

◆ DRIVER_DS1307_LINK_IIC_WRITE

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

link iic_write function

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

Definition at line 210 of file driver_ds1307.h.

◆ DRIVER_DS1307_LINK_INIT

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

initialize ds1307_handle_t structure

Parameters
[in]HANDLEpointer to a ds1307 handle structure
[in]STRUCTUREds1307_handle_t
Note
none

Definition at line 178 of file driver_ds1307.h.