Wirepas SDK
dualmcu_lib.h
Go to the documentation of this file.
1
/* Copyright 2021 Wirepas Ltd. All Rights Reserved.
2
*
3
* See file LICENSE.txt for full license details.
4
*
5
*/
6
12
#ifndef _DUALMCU_LIB_H_
13
#define _DUALMCU_LIB_H_
14
15
#include <stdint.h>
16
#include <stdbool.h>
17
21
typedef
enum
22
{
24
DUALMCU_LIB_RES_OK
= 0,
26
DUALMCU_LIB_RES_INTERNAL_ERROR
= 1,
27
}
dualmcu_lib_res_e
;
28
29
38
dualmcu_lib_res_e
Dualmcu_lib_init
(uint32_t baudrate,
bool
flow_ctrl);
39
40
41
#endif //_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
Dualmcu_lib_init
dualmcu_lib_res_e Dualmcu_lib_init(uint32_t baudrate, bool flow_ctrl)
Initialize Dualmcu_lib.