![]() |
monoZ docs
|
monoZ Lib Common. More...
#include "stm32l4xx_hal.h"
#include "MZ_BoardCfg.h"
#include "MZ_tool_config.h"
#include "stddef.h"
#include "string.h"
Go to the source code of this file.
Macros | |
#define | MZ_COMMON_H |
Define monoZ Common. More... | |
#define | MZ_IFNULLGOCLEAN(X) do{if(0 == X) goto clean;}while(0); |
monoZ If Null Go and Clean More... | |
#define | MZ_IFNOTNULLGOCLEAN(X) do{if(0 != X) goto clean;}while(0); |
monoZ If Not Null Go and Clean More... | |
#define | MZ_IFRETNOTMZ_OKGOCLEAN(X) do{_ret = X; if(MZ_OK != _ret)goto clean;}while(0); |
monoZ if not return MZ_OK Go and Clean More... | |
#define | __INTERNAL static |
[TODO] More... | |
#define | __EXTERNAL |
[TODO] More... | |
#define | MZ_VAR_NOINIT __attribute__((section(".mz_RamBlock_noinit"))) |
Defines the mz_RamBlock_noinit. More... | |
#define | MZ_VAR_INIT __attribute__((section(".mz_RamBlock_init"))) |
Defines the mz_RamBlock_init. More... | |
#define | MZ_VAR_CONST __attribute__((section(".mz_const_section"))) |
Defines monoZ constant variable. More... | |
#define | MZ_FUN __attribute__((section(".mz_FunctionBlock"))) |
Defines the monoZ function. More... | |
#define | MZ_VAR_CONFIG __attribute__((section(".mz_config_table"))) |
Defines the monoZ configuration table. More... | |
Typedefs | |
typedef void(* | _mz_fp) (void *) |
typedef _mz_fp | mz_fn |
1 Byte data type More... | |
typedef char | mzInt8 |
1 Byte data type More... | |
typedef signed char | mzSint8 |
1 Byte data type More... | |
typedef unsigned char | mzUint8 |
1 Byte data type More... | |
typedef short int | mzInt16 |
2 Byte data type More... | |
typedef signed short int | mzSint16 |
2 Byte data type More... | |
typedef unsigned short int | mzUint16 |
2 Byte data type More... | |
typedef long int | mzInt32 |
4 Byte data type More... | |
typedef signed long int | mzSint32 |
4 Byte data type More... | |
typedef unsigned long int | mzUint32 |
4 Byte data type More... | |
typedef long long | mzInt64 |
8 Byte data type More... | |
typedef signed long long | mzSint64 |
8 Byte data type More... | |
typedef unsigned long long | mzUint64 |
8 Byte data type More... | |
Enumerations | |
enum | mzReg { MZ_DEREG , MZ_REG } |
monoZ Register and Deregister More... | |
#define MZ_COMMON_H |
Define monoZ Common.
Definition at line 11 of file MZ_common.h.
#define MZ_IFNULLGOCLEAN | ( | X | ) | do{if(0 == X) goto clean;}while(0); |
monoZ If Null Go and Clean
Definition at line 16 of file MZ_common.h.
#define MZ_IFNOTNULLGOCLEAN | ( | X | ) | do{if(0 != X) goto clean;}while(0); |
monoZ If Not Null Go and Clean
Definition at line 17 of file MZ_common.h.
#define MZ_IFRETNOTMZ_OKGOCLEAN | ( | X | ) | do{_ret = X; if(MZ_OK != _ret)goto clean;}while(0); |
monoZ if not return MZ_OK Go and Clean
Definition at line 20 of file MZ_common.h.
#define __INTERNAL static |
[TODO]
Definition at line 22 of file MZ_common.h.
#define __EXTERNAL |
[TODO]
Definition at line 23 of file MZ_common.h.
#define MZ_VAR_NOINIT __attribute__((section(".mz_RamBlock_noinit"))) |
Defines the mz_RamBlock_noinit.
Definition at line 130 of file MZ_common.h.
#define MZ_VAR_INIT __attribute__((section(".mz_RamBlock_init"))) |
Defines the mz_RamBlock_init.
Definition at line 131 of file MZ_common.h.
#define MZ_VAR_CONST __attribute__((section(".mz_const_section"))) |
Defines monoZ constant variable.
Definition at line 132 of file MZ_common.h.
#define MZ_FUN __attribute__((section(".mz_FunctionBlock"))) |
Defines the monoZ function.
Definition at line 133 of file MZ_common.h.
#define MZ_VAR_CONFIG __attribute__((section(".mz_config_table"))) |
Defines the monoZ configuration table.
Definition at line 134 of file MZ_common.h.
typedef void(* _mz_fp) (void *) |
Common reference function pointer
Definition at line 33 of file MZ_common.h.
typedef char mzInt8 |
typedef signed char mzSint8 |
typedef unsigned char mzUint8 |
typedef short int mzInt16 |
typedef signed short int mzSint16 |
2 Byte data type
mzSint16 variable of type signed short int
Definition at line 70 of file MZ_common.h.
typedef unsigned short int mzUint16 |
2 Byte data type
mzUint16 variable of type unsigned short int
Definition at line 76 of file MZ_common.h.
typedef long int mzInt32 |
typedef signed long int mzSint32 |
4 Byte data type
mzSint32 variable of type signed long int
Definition at line 89 of file MZ_common.h.
typedef unsigned long int mzUint32 |
4 Byte data type
mzUint32 variable of type unsigned long int
Definition at line 95 of file MZ_common.h.
typedef long long mzInt64 |
typedef signed long long mzSint64 |
8 Byte data type
mzSint64 variable of type signed long long
Definition at line 109 of file MZ_common.h.
typedef unsigned long long mzUint64 |
8 Byte data type
mzUint64 variable of type unsigned long long
Definition at line 116 of file MZ_common.h.
enum mzReg |
monoZ Register and Deregister
Enumerator | |
---|---|
MZ_DEREG | monoZ Deregister |
MZ_REG | monoZ Register |
Definition at line 122 of file MZ_common.h.