LibDriver BA111
Loading...
Searching...
No Matches
ba111 link driver function

ba111 link driver modules More...

Collaboration diagram for ba111 link driver function:

Macros

#define DRIVER_BA111_LINK_INIT(HANDLE, STRUCTURE)
 initialize ba111_handle_t structure
#define DRIVER_BA111_LINK_UART_INIT(HANDLE, FUC)
 link uart_init function
#define DRIVER_BA111_LINK_UART_DEINIT(HANDLE, FUC)
 link uart_deinit function
#define DRIVER_BA111_LINK_UART_READ(HANDLE, FUC)
 link uart_read function
#define DRIVER_BA111_LINK_UART_WRITE(HANDLE, FUC)
 link uart_write function
#define DRIVER_BA111_LINK_UART_FLUSH(HANDLE, FUC)
 link uart_flush function
#define DRIVER_BA111_LINK_DELAY_MS(HANDLE, FUC)
 link delay_ms function
#define DRIVER_BA111_LINK_DEBUG_PRINT(HANDLE, FUC)
 link debug_print function

Detailed Description

ba111 link driver modules

Macro Definition Documentation

◆ DRIVER_BA111_LINK_DEBUG_PRINT

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

link debug_print function

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

Definition at line 176 of file driver_ba111.h.

◆ DRIVER_BA111_LINK_DELAY_MS

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

link delay_ms function

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

Definition at line 168 of file driver_ba111.h.

◆ DRIVER_BA111_LINK_INIT

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

initialize ba111_handle_t structure

Parameters
[in]HANDLEpointer to a ba111 handle structure
[in]STRUCTUREba111_handle_t
Note
none

Definition at line 120 of file driver_ba111.h.

◆ DRIVER_BA111_LINK_UART_DEINIT

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

link uart_deinit function

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

Definition at line 136 of file driver_ba111.h.

◆ DRIVER_BA111_LINK_UART_FLUSH

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

link uart_flush function

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

Definition at line 160 of file driver_ba111.h.

◆ DRIVER_BA111_LINK_UART_INIT

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

link uart_init function

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

Definition at line 128 of file driver_ba111.h.

◆ DRIVER_BA111_LINK_UART_READ

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

link uart_read function

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

Definition at line 144 of file driver_ba111.h.

◆ DRIVER_BA111_LINK_UART_WRITE

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

link uart_write function

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

Definition at line 152 of file driver_ba111.h.