Mistake on this page? Email us
sda_status.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // Copyright 2017-2019 ARM Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 // ----------------------------------------------------------------------------
16 
17 #ifndef __SDA_STATUS_H__
18 #define __SDA_STATUS_H__
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
29 #define SDA_STATUS_BASE_ERR 0x0 //0
30 #define SDA_STATUS_BASE_USER_ERROR 0xfffffff
31 #define SDA_STATUS_MAX_ERROR 0x7fffffff
32 
33 typedef enum {
34  SDA_STATUS_SUCCESS = SDA_STATUS_BASE_ERR,
42  //user external errors
43  SDA_STATUS_OPERATION_EXECUTION_ERROR = SDA_STATUS_BASE_USER_ERROR,
44  SDA_STATUS_LAST_ERROR = SDA_STATUS_MAX_ERROR
45 
46 } sda_status_e;
47 
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif //__SDA_STATUS_H__
No more scopes in current scopes list.
Definition: sda_status.h:39
Error in request message verification was detected.
Definition: sda_status.h:38
Error in request message was detected.
Definition: sda_status.h:36
Internal error occurred in the device.
Definition: sda_status.h:37
General error.
Definition: sda_status.h:35
Insufficient response buffer size for user buffer.
Definition: sda_status.h:40
Execution of current device operation failed.
Definition: sda_status.h:43
SDA module wasn't initialized.
Definition: sda_status.h:41
sda_status_e
Definition: sda_status.h:33
General success.
Definition: sda_status.h:34