Wirepas SDK
dualmcu_lib.h File Reference

Go to the source code of this file.

Functions

dualmcu_lib_res_e Dualmcu_lib_init (uint32_t baudrate, bool flow_ctrl)
 Initialize Dualmcu_lib. More...
 

Enumerations

enum  dualmcu_lib_res_e { DUALMCU_LIB_RES_OK = 0, DUALMCU_LIB_RES_INTERNAL_ERROR = 1 }
 List of return code. More...
 

Function Documentation

◆ Dualmcu_lib_init()

dualmcu_lib_res_e Dualmcu_lib_init ( uint32_t  baudrate,
bool  flow_ctrl 
)

Initialize Dualmcu_lib.

Parameters
baudrateBaudrate for the uart
flow_ctrlIs hardware flow control enabled
Returns
Return code of the operation
Examples
dualmcu_app/app.c.

Enumeration Type Documentation

◆ dualmcu_lib_res_e

List of return code.

Enumerator
DUALMCU_LIB_RES_OK 

Operation is successful

DUALMCU_LIB_RES_INTERNAL_ERROR 

Something went wrong

Definition at line 21 of file dualmcu_lib.h.

dualmcu_lib_res_e
dualmcu_lib_res_e
List of return code.
Definition: dualmcu_lib.h:21
DUALMCU_LIB_RES_OK
@ DUALMCU_LIB_RES_OK
Definition: dualmcu_lib.h:24
DUALMCU_LIB_RES_INTERNAL_ERROR
@ DUALMCU_LIB_RES_INTERNAL_ERROR
Definition: dualmcu_lib.h:26