LibDriver APM2000
Loading...
Searching...
No Matches
apm2000 link driver function

apm2000 link driver modules More...

Collaboration diagram for apm2000 link driver function:

Macros

#define DRIVER_APM2000_LINK_INIT(HANDLE, STRUCTURE)
 initialize apm2000_handle_t structure
#define DRIVER_APM2000_LINK_UART_INIT(HANDLE, FUC)
 link uart_init function
#define DRIVER_APM2000_LINK_UART_DEINIT(HANDLE, FUC)
 link uart_deinit function
#define DRIVER_APM2000_LINK_UART_READ(HANDLE, FUC)
 link uart_read function
#define DRIVER_APM2000_LINK_UART_WRITE(HANDLE, FUC)
 link uart_write function
#define DRIVER_APM2000_LINK_UART_FLUSH(HANDLE, FUC)
 link uart_flush function
#define DRIVER_APM2000_LINK_IIC_INIT(HANDLE, FUC)
 link iic_init function
#define DRIVER_APM2000_LINK_IIC_DEINIT(HANDLE, FUC)
 link iic_deinit function
#define DRIVER_APM2000_LINK_IIC_WRITE_ADDRESS16(HANDLE, FUC)
 link iic_write_address16 function
#define DRIVER_APM2000_LINK_IIC_READ_ADDRESS16(HANDLE, FUC)
 link iic_read_address16 function
#define DRIVER_APM2000_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_APM2000_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function

Detailed Description

apm2000 link driver modules

Macro Definition Documentation

◆ DRIVER_APM2000_LINK_DEBUG_PRINT

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

link debug_print function

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

Definition at line 220 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_DELAY_MS

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

link delay_ms function

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

Definition at line 212 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_IIC_DEINIT

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

link iic_deinit function

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

Definition at line 188 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_IIC_INIT

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

link iic_init function

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

Definition at line 180 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_IIC_READ_ADDRESS16

#define DRIVER_APM2000_LINK_IIC_READ_ADDRESS16 ( HANDLE,
FUC )
Value:
(HANDLE)->iic_read_address16 = FUC

link iic_read_address16 function

Parameters
[in]HANDLEpointer to an apm2000 handle structure
[in]FUCpointer to an iic_read_address16 function address
Note
none

Definition at line 204 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_IIC_WRITE_ADDRESS16

#define DRIVER_APM2000_LINK_IIC_WRITE_ADDRESS16 ( HANDLE,
FUC )
Value:
(HANDLE)->iic_write_address16 = FUC

link iic_write_address16 function

Parameters
[in]HANDLEpointer to an apm2000 handle structure
[in]FUCpointer to an iic_write_address16 function address
Note
none

Definition at line 196 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_INIT

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

initialize apm2000_handle_t structure

Parameters
[in]HANDLEpointer to an apm2000 handle structure
[in]STRUCTUREapm2000_handle_t
Note
none

Definition at line 132 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_UART_DEINIT

#define DRIVER_APM2000_LINK_UART_DEINIT ( HANDLE,
FUC )
Value:
(HANDLE)->uart_deinit = FUC

link uart_deinit function

Parameters
[in]HANDLEpointer to an apm2000 handle structure
[in]FUCpointer to an uart_deinit function address
Note
none

Definition at line 148 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_UART_FLUSH

#define DRIVER_APM2000_LINK_UART_FLUSH ( HANDLE,
FUC )
Value:
(HANDLE)->uart_flush = FUC

link uart_flush function

Parameters
[in]HANDLEpointer to an apm2000 handle structure
[in]FUCpointer to an uart_flush function address
Note
none

Definition at line 172 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_UART_INIT

#define DRIVER_APM2000_LINK_UART_INIT ( HANDLE,
FUC )
Value:
(HANDLE)->uart_init = FUC

link uart_init function

Parameters
[in]HANDLEpointer to an apm2000 handle structure
[in]FUCpointer to an uart_init function address
Note
none

Definition at line 140 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_UART_READ

#define DRIVER_APM2000_LINK_UART_READ ( HANDLE,
FUC )
Value:
(HANDLE)->uart_read = FUC

link uart_read function

Parameters
[in]HANDLEpointer to an apm2000 handle structure
[in]FUCpointer to an uart_read function address
Note
none

Definition at line 156 of file driver_apm2000.h.

◆ DRIVER_APM2000_LINK_UART_WRITE

#define DRIVER_APM2000_LINK_UART_WRITE ( HANDLE,
FUC )
Value:
(HANDLE)->uart_write = FUC

link uart_write function

Parameters
[in]HANDLEpointer to an apm2000 handle structure
[in]FUCpointer to an uart_write function address
Note
none

Definition at line 164 of file driver_apm2000.h.