LibDriver AS608
Loading...
Searching...
No Matches
as608 link driver function

as608 link driver modules More...

Collaboration diagram for as608 link driver function:

Macros

#define DRIVER_AS608_LINK_INIT(HANDLE, STRUCTURE)
 initialize as608_handle_t structure
#define DRIVER_AS608_LINK_UART_INIT(HANDLE, FUC)
 link uart_init function
#define DRIVER_AS608_LINK_UART_DEINIT(HANDLE, FUC)
 link uart_deinit function
#define DRIVER_AS608_LINK_UART_READ(HANDLE, FUC)
 link uart_read function
#define DRIVER_AS608_LINK_UART_WRITE(HANDLE, FUC)
 link uart_write function
#define DRIVER_AS608_LINK_UART_FLUSH(HANDLE, FUC)
 link uart_flush function
#define DRIVER_AS608_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_AS608_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function

Detailed Description

as608 link driver modules

Macro Definition Documentation

◆ DRIVER_AS608_LINK_DEBUG_PRINT

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

link debug_print function

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

Definition at line 316 of file driver_as608.h.

◆ DRIVER_AS608_LINK_DELAY_MS

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

link delay_ms function

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

Definition at line 308 of file driver_as608.h.

◆ DRIVER_AS608_LINK_INIT

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

initialize as608_handle_t structure

Parameters
[in]HANDLEpointer to an as608 handle structure
[in]STRUCTUREas608_handle_t
Note
none

Definition at line 260 of file driver_as608.h.

◆ DRIVER_AS608_LINK_UART_DEINIT

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

link uart_deinit function

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

Definition at line 276 of file driver_as608.h.

◆ DRIVER_AS608_LINK_UART_FLUSH

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

link uart_flush function

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

Definition at line 300 of file driver_as608.h.

◆ DRIVER_AS608_LINK_UART_INIT

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

link uart_init function

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

Definition at line 268 of file driver_as608.h.

◆ DRIVER_AS608_LINK_UART_READ

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

link uart_read function

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

Definition at line 284 of file driver_as608.h.

◆ DRIVER_AS608_LINK_UART_WRITE

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

link uart_write function

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

Definition at line 292 of file driver_as608.h.