LibDriver DS18B20
Loading...
Searching...
No Matches
ds18b20 link driver function

ds18b20 link driver modules More...

Collaboration diagram for ds18b20 link driver function:

Macros

#define DRIVER_DS18B20_LINK_INIT(HANDLE, STRUCTURE)
 initialize ds18b20_handle_t structure
#define DRIVER_DS18B20_LINK_BUS_INIT(HANDLE, FUC)
 link bus_init function
#define DRIVER_DS18B20_LINK_BUS_DEINIT(HANDLE, FUC)
 link bus_deinit function
#define DRIVER_DS18B20_LINK_BUS_READ(HANDLE, FUC)
 link bus_read function
#define DRIVER_DS18B20_LINK_BUS_WRITE(HANDLE, FUC)
 link bus_write function
#define DRIVER_DS18B20_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_DS18B20_LINK_DELAY_US(HANDLE, FUC)
 link delay_us function
#define DRIVER_DS18B20_LINK_ENABLE_IRQ(HANDLE, FUC)
 link enable_irq function
#define DRIVER_DS18B20_LINK_DISABLE_IRQ(HANDLE, FUC)
 link disable_irq function
#define DRIVER_DS18B20_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function

Detailed Description

ds18b20 link driver modules

Macro Definition Documentation

◆ DRIVER_DS18B20_LINK_BUS_DEINIT

#define DRIVER_DS18B20_LINK_BUS_DEINIT ( HANDLE,
FUC )
Value:
(HANDLE)->bus_deinit = FUC

link bus_deinit function

Parameters
[in]HANDLEpointer to a ds18b20 handle structure
[in]FUCpointer to a bus_deinit function address
Note
none

Definition at line 173 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_BUS_INIT

#define DRIVER_DS18B20_LINK_BUS_INIT ( HANDLE,
FUC )
Value:
(HANDLE)->bus_init = FUC

link bus_init function

Parameters
[in]HANDLEpointer to a ds18b20 handle structure
[in]FUCpointer to a bus_init function address
Note
none

Definition at line 165 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_BUS_READ

#define DRIVER_DS18B20_LINK_BUS_READ ( HANDLE,
FUC )
Value:
(HANDLE)->bus_read = FUC

link bus_read function

Parameters
[in]HANDLEpointer to a ds18b20 handle structure
[in]FUCpointer to a bus_read function address
Note
none

Definition at line 181 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_BUS_WRITE

#define DRIVER_DS18B20_LINK_BUS_WRITE ( HANDLE,
FUC )
Value:
(HANDLE)->bus_write = FUC

link bus_write function

Parameters
[in]HANDLEpointer to a ds18b20 handle structure
[in]FUCpointer to a bus_write function address
Note
none

Definition at line 189 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_DEBUG_PRINT

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

link debug_print function

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

Definition at line 229 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_DELAY_MS

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

link delay_ms function

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

Definition at line 197 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_DELAY_US

#define DRIVER_DS18B20_LINK_DELAY_US ( HANDLE,
FUC )
Value:
(HANDLE)->delay_us = FUC

link delay_us function

Parameters
[in]HANDLEpointer to a ds18b20 handle structure
[in]FUCpointer to a delay_us function address
Note
none

Definition at line 205 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_DISABLE_IRQ

#define DRIVER_DS18B20_LINK_DISABLE_IRQ ( HANDLE,
FUC )
Value:
(HANDLE)->disable_irq = FUC

link disable_irq function

Parameters
[in]HANDLEpointer to a ds18b20 handle structure
[in]FUCpointer to a disable_irq function address
Note
none

Definition at line 221 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_ENABLE_IRQ

#define DRIVER_DS18B20_LINK_ENABLE_IRQ ( HANDLE,
FUC )
Value:
(HANDLE)->enable_irq = FUC

link enable_irq function

Parameters
[in]HANDLEpointer to a ds18b20 handle structure
[in]FUCpointer to an enable_irq function address
Note
none

Definition at line 213 of file driver_ds18b20.h.

◆ DRIVER_DS18B20_LINK_INIT

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

initialize ds18b20_handle_t structure

Parameters
[in]HANDLEpointer to a ds18b20 handle structure
[in]STRUCTUREds18b20_handle_t
Note
none

Definition at line 157 of file driver_ds18b20.h.