MAX32680 Peripheral Driver API
Peripheral Driver API for the MAX32680
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules
mxc_errors.h
1
5/******************************************************************************
6 *
7 * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
8 * Analog Devices, Inc.),
9 * Copyright (C) 2023-2024 Analog Devices, Inc.
10 *
11 * Licensed under the Apache License, Version 2.0 (the "License");
12 * you may not use this file except in compliance with the License.
13 * You may obtain a copy of the License at
14 *
15 * http://www.apache.org/licenses/LICENSE-2.0
16 *
17 * Unless required by applicable law or agreed to in writing, software
18 * distributed under the License is distributed on an "AS IS" BASIS,
19 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 * See the License for the specific language governing permissions and
21 * limitations under the License.
22 *
23 ******************************************************************************/
24
25/* Define to prevent redundant inclusion */
26#ifndef LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32680_MXC_ERRORS_H_
27#define LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32680_MXC_ERRORS_H_
28
39#define E_NO_ERROR 0
41#define E_SUCCESS 0
43#define E_NULL_PTR -1
45#define E_NO_DEVICE -2
47#define E_BAD_PARAM -3
49#define E_INVALID -4
51#define E_UNINITIALIZED -5
53#define E_BUSY -6
55#define E_BAD_STATE -7
57#define E_UNKNOWN -8
59#define E_COMM_ERR -9
61#define E_TIME_OUT -10
63#define E_NO_RESPONSE -11
65#define E_OVERFLOW -12
67#define E_UNDERFLOW -13
69#define E_NONE_AVAIL -14
71#define E_SHUTDOWN -15
73#define E_ABORT -16
75#define E_NOT_SUPPORTED -17
77#define E_FAIL -255
80#endif // LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32680_MXC_ERRORS_H_