MAX32675 Peripheral Driver API
Peripheral Driver API for the MAX32675
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
mxc_errors.h
1
6/******************************************************************************
7 *
8 * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
9 * Analog Devices, Inc.),
10 * Copyright (C) 2023-2024 Analog Devices, Inc.
11 *
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * http://www.apache.org/licenses/LICENSE-2.0
17 *
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS,
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
23 *
24 ******************************************************************************/
25
26/* Define to prevent redundant inclusion */
27#ifndef LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_MXC_ERRORS_H_
28#define LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_MXC_ERRORS_H_
29
40#define E_NO_ERROR 0
42#define E_SUCCESS 0
44#define E_NULL_PTR -1
46#define E_NO_DEVICE -2
48#define E_BAD_PARAM -3
50#define E_INVALID -4
52#define E_UNINITIALIZED -5
54#define E_BUSY -6
56#define E_BAD_STATE -7
58#define E_UNKNOWN -8
60#define E_COMM_ERR -9
62#define E_TIME_OUT -10
64#define E_NO_RESPONSE -11
66#define E_OVERFLOW -12
68#define E_UNDERFLOW -13
70#define E_NONE_AVAIL -14
72#define E_SHUTDOWN -15
74#define E_ABORT -16
76#define E_NOT_SUPPORTED -17
78#define E_FAIL -255
81#endif // LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_MXC_ERRORS_H_