Loading...
Searching...
No Matches
dpl_error.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2020 Inria
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
20#ifndef DPL_DPL_ERROR_H
21#define DPL_DPL_ERROR_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27#include "os/os_error.h"
28
33 DPL_OK = OS_OK,
34 DPL_ENOMEM = OS_ENOMEM,
35 DPL_EINVAL = OS_EINVAL,
36 DPL_INVALID_PARAM = OS_INVALID_PARM,
37 DPL_MEM_NOT_ALIGNED = OS_MEM_NOT_ALIGNED,
38 DPL_BAD_MUTEX = OS_BAD_MUTEX,
39 DPL_TIMEOUT = OS_TIMEOUT,
40 DPL_ERR_IN_ISR = OS_ERR_IN_ISR,
41 DPL_ERR_PRIV = OS_ERR_PRIV,
42 DPL_OS_NOT_STARTED = OS_NOT_STARTED,
43 DPL_ENOENT = OS_ENOENT,
44 DPL_EBUSY = OS_EBUSY,
45 DPL_ERROR = OS_ERROR ,
46};
47
51typedef os_error_t dpl_error_t;
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* DPL_DPL_ERROR_H */
dpl_error
DPL error types.
Definition dpl_error.h:32
os_error_t dpl_error_t
dpl error type
Definition dpl_error.h:51