monoZ docs
MZ_main.h
Go to the documentation of this file.
1
8#ifndef MZ_MAIN_H_
9#define MZ_MAIN_H_
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include "string.h"
15#include "stm32l4xx_hal.h"
16#include "MZ_version.h"
17
18#define MZ_SW_VERSION_MAJOR (1)
19#define MZ_SW_VERSION_MINOR (0)
20#define MZ_SW_VERSION_PATCH (7)
21
22
33/*
34 * This API is used to Initialize the MonoZ Library.
35 *
36 * Sample use of Initializing MonoZ Library is as follows.
37 *
38 * mz_version ver = {
39 * ._major = MZ_SW_VERSION_MAJOR,
40 * ._minor = MZ_SW_VERSION_MINOR,
41 * ._patch = MZ_SW_VERSION_PATCH
42 * };
43 * if(MZ_OK != MZ_init(&ver))
44 * {
45 * Error_Handler();
46 * }
47 */
49
57
59#ifdef __cplusplus
60}
61#endif
62#endif /* MZ_MAIN_H_ */
void(* _mz_fp)(void *)
Definition: MZ_common.h:33
mz_error_t
Enumeration of monoZ Error Flags.
This file contains the API for compare the versions of two inputs.
mz_error_t MZ_modem_config_set(_mz_fp _fp)
This function is used to check modem configuration is set or not set.
mz_error_t MZ_init(mz_version *_ver)
This function is used to initialize the MonoZ Library.
monoZ Versions
Definition: MZ_version.h:20