Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
targets/TARGET_ONSEMI/TARGET_NCS36510/error.h@0:098463de4c5d, 2017-01-25 (annotated)
- Committer:
- group-onsemi
- Date:
- Wed Jan 25 20:34:15 2017 +0000
- Revision:
- 0:098463de4c5d
Initial commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| group-onsemi | 0:098463de4c5d | 1 | /** |
| group-onsemi | 0:098463de4c5d | 2 | ****************************************************************************** |
| group-onsemi | 0:098463de4c5d | 3 | * @file error.h |
| group-onsemi | 0:098463de4c5d | 4 | * @brief Defines an error data type, which can be used for error codes or return values. |
| group-onsemi | 0:098463de4c5d | 5 | * @internal |
| group-onsemi | 0:098463de4c5d | 6 | * @author ON Semiconductor |
| group-onsemi | 0:098463de4c5d | 7 | * $Rev: 2074 $ |
| group-onsemi | 0:098463de4c5d | 8 | * $Date: 2013-07-10 18:06:15 +0530 (Wed, 10 Jul 2013) $ |
| group-onsemi | 0:098463de4c5d | 9 | ****************************************************************************** |
| group-onsemi | 0:098463de4c5d | 10 | * Copyright 2016 Semiconductor Components Industries LLC (d/b/a ON Semiconductor). |
| group-onsemi | 0:098463de4c5d | 11 | * All rights reserved. This software and/or documentation is licensed by ON Semiconductor |
| group-onsemi | 0:098463de4c5d | 12 | * under limited terms and conditions. The terms and conditions pertaining to the software |
| group-onsemi | 0:098463de4c5d | 13 | * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf |
| group-onsemi | 0:098463de4c5d | 14 | * (ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software) and |
| group-onsemi | 0:098463de4c5d | 15 | * if applicable the software license agreement. Do not use this software and/or |
| group-onsemi | 0:098463de4c5d | 16 | * documentation unless you have carefully read and you agree to the limited terms and |
| group-onsemi | 0:098463de4c5d | 17 | * conditions. By using this software and/or documentation, you agree to the limited |
| group-onsemi | 0:098463de4c5d | 18 | * terms and conditions. |
| group-onsemi | 0:098463de4c5d | 19 | * |
| group-onsemi | 0:098463de4c5d | 20 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
| group-onsemi | 0:098463de4c5d | 21 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
| group-onsemi | 0:098463de4c5d | 22 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
| group-onsemi | 0:098463de4c5d | 23 | * ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, |
| group-onsemi | 0:098463de4c5d | 24 | * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
| group-onsemi | 0:098463de4c5d | 25 | * @endinternal |
| group-onsemi | 0:098463de4c5d | 26 | * |
| group-onsemi | 0:098463de4c5d | 27 | * @ingroup util |
| group-onsemi | 0:098463de4c5d | 28 | */ |
| group-onsemi | 0:098463de4c5d | 29 | |
| group-onsemi | 0:098463de4c5d | 30 | #ifndef ERROR_H_ |
| group-onsemi | 0:098463de4c5d | 31 | #define ERROR_H_ |
| group-onsemi | 0:098463de4c5d | 32 | |
| group-onsemi | 0:098463de4c5d | 33 | #include <stdint.h> |
| group-onsemi | 0:098463de4c5d | 34 | |
| group-onsemi | 0:098463de4c5d | 35 | typedef uint8_t error; |
| group-onsemi | 0:098463de4c5d | 36 | #define NO_ERROR (0xFF) |
| group-onsemi | 0:098463de4c5d | 37 | |
| group-onsemi | 0:098463de4c5d | 38 | #endif /* ERROR_H_ */ |