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.
mbed-os/targets/TARGET_ONSEMI/TARGET_NCS36510/error.h@0:9b3d4731edbb, 2018-06-21 (annotated)
- Committer:
- WFKnight
- Date:
- Thu Jun 21 13:51:43 2018 +0000
- Revision:
- 0:9b3d4731edbb
UART, RTOS, LED
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| WFKnight | 0:9b3d4731edbb | 1 | /** |
| WFKnight | 0:9b3d4731edbb | 2 | ****************************************************************************** |
| WFKnight | 0:9b3d4731edbb | 3 | * @file error.h |
| WFKnight | 0:9b3d4731edbb | 4 | * @brief Defines an error data type, which can be used for error codes or return values. |
| WFKnight | 0:9b3d4731edbb | 5 | * @internal |
| WFKnight | 0:9b3d4731edbb | 6 | * @author ON Semiconductor |
| WFKnight | 0:9b3d4731edbb | 7 | * $Rev: 2074 $ |
| WFKnight | 0:9b3d4731edbb | 8 | * $Date: 2013-07-10 18:06:15 +0530 (Wed, 10 Jul 2013) $ |
| WFKnight | 0:9b3d4731edbb | 9 | ****************************************************************************** |
| WFKnight | 0:9b3d4731edbb | 10 | * Copyright 2016 Semiconductor Components Industries LLC (d/b/a ON Semiconductor). |
| WFKnight | 0:9b3d4731edbb | 11 | * All rights reserved. This software and/or documentation is licensed by ON Semiconductor |
| WFKnight | 0:9b3d4731edbb | 12 | * under limited terms and conditions. The terms and conditions pertaining to the software |
| WFKnight | 0:9b3d4731edbb | 13 | * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf |
| WFKnight | 0:9b3d4731edbb | 14 | * (ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software) and |
| WFKnight | 0:9b3d4731edbb | 15 | * if applicable the software license agreement. Do not use this software and/or |
| WFKnight | 0:9b3d4731edbb | 16 | * documentation unless you have carefully read and you agree to the limited terms and |
| WFKnight | 0:9b3d4731edbb | 17 | * conditions. By using this software and/or documentation, you agree to the limited |
| WFKnight | 0:9b3d4731edbb | 18 | * terms and conditions. |
| WFKnight | 0:9b3d4731edbb | 19 | * |
| WFKnight | 0:9b3d4731edbb | 20 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
| WFKnight | 0:9b3d4731edbb | 21 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
| WFKnight | 0:9b3d4731edbb | 22 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
| WFKnight | 0:9b3d4731edbb | 23 | * ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, |
| WFKnight | 0:9b3d4731edbb | 24 | * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
| WFKnight | 0:9b3d4731edbb | 25 | * @endinternal |
| WFKnight | 0:9b3d4731edbb | 26 | * |
| WFKnight | 0:9b3d4731edbb | 27 | * @ingroup util |
| WFKnight | 0:9b3d4731edbb | 28 | */ |
| WFKnight | 0:9b3d4731edbb | 29 | |
| WFKnight | 0:9b3d4731edbb | 30 | #ifndef ERROR_H_ |
| WFKnight | 0:9b3d4731edbb | 31 | #define ERROR_H_ |
| WFKnight | 0:9b3d4731edbb | 32 | |
| WFKnight | 0:9b3d4731edbb | 33 | #include <stdint.h> |
| WFKnight | 0:9b3d4731edbb | 34 | |
| WFKnight | 0:9b3d4731edbb | 35 | typedef uint8_t error; |
| WFKnight | 0:9b3d4731edbb | 36 | #define NO_ERROR (0xFF) |
| WFKnight | 0:9b3d4731edbb | 37 | |
| WFKnight | 0:9b3d4731edbb | 38 | #endif /* ERROR_H_ */ |