Wouter van Kleunen
/
nrf52_esb
NRF52_esb
nrf_esb_error_codes.h@1:66f95e364222, 2021-02-04 (annotated)
- Committer:
- wkleunen
- Date:
- Thu Feb 04 10:36:44 2021 +0000
- Revision:
- 1:66f95e364222
Initial compile;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
wkleunen | 1:66f95e364222 | 1 | /** |
wkleunen | 1:66f95e364222 | 2 | * Copyright (c) 2016 - 2018, Nordic Semiconductor ASA |
wkleunen | 1:66f95e364222 | 3 | * |
wkleunen | 1:66f95e364222 | 4 | * All rights reserved. |
wkleunen | 1:66f95e364222 | 5 | * |
wkleunen | 1:66f95e364222 | 6 | * Redistribution and use in source and binary forms, with or without modification, |
wkleunen | 1:66f95e364222 | 7 | * are permitted provided that the following conditions are met: |
wkleunen | 1:66f95e364222 | 8 | * |
wkleunen | 1:66f95e364222 | 9 | * 1. Redistributions of source code must retain the above copyright notice, this |
wkleunen | 1:66f95e364222 | 10 | * list of conditions and the following disclaimer. |
wkleunen | 1:66f95e364222 | 11 | * |
wkleunen | 1:66f95e364222 | 12 | * 2. Redistributions in binary form, except as embedded into a Nordic |
wkleunen | 1:66f95e364222 | 13 | * Semiconductor ASA integrated circuit in a product or a software update for |
wkleunen | 1:66f95e364222 | 14 | * such product, must reproduce the above copyright notice, this list of |
wkleunen | 1:66f95e364222 | 15 | * conditions and the following disclaimer in the documentation and/or other |
wkleunen | 1:66f95e364222 | 16 | * materials provided with the distribution. |
wkleunen | 1:66f95e364222 | 17 | * |
wkleunen | 1:66f95e364222 | 18 | * 3. Neither the name of Nordic Semiconductor ASA nor the names of its |
wkleunen | 1:66f95e364222 | 19 | * contributors may be used to endorse or promote products derived from this |
wkleunen | 1:66f95e364222 | 20 | * software without specific prior written permission. |
wkleunen | 1:66f95e364222 | 21 | * |
wkleunen | 1:66f95e364222 | 22 | * 4. This software, with or without modification, must only be used with a |
wkleunen | 1:66f95e364222 | 23 | * Nordic Semiconductor ASA integrated circuit. |
wkleunen | 1:66f95e364222 | 24 | * |
wkleunen | 1:66f95e364222 | 25 | * 5. Any software provided in binary form under this license must not be reverse |
wkleunen | 1:66f95e364222 | 26 | * engineered, decompiled, modified and/or disassembled. |
wkleunen | 1:66f95e364222 | 27 | * |
wkleunen | 1:66f95e364222 | 28 | * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS |
wkleunen | 1:66f95e364222 | 29 | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
wkleunen | 1:66f95e364222 | 30 | * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE |
wkleunen | 1:66f95e364222 | 31 | * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE |
wkleunen | 1:66f95e364222 | 32 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
wkleunen | 1:66f95e364222 | 33 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
wkleunen | 1:66f95e364222 | 34 | * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
wkleunen | 1:66f95e364222 | 35 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
wkleunen | 1:66f95e364222 | 36 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
wkleunen | 1:66f95e364222 | 37 | * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
wkleunen | 1:66f95e364222 | 38 | * |
wkleunen | 1:66f95e364222 | 39 | */ |
wkleunen | 1:66f95e364222 | 40 | #ifndef __NRF_ESB_ERROR_CODES_H__ |
wkleunen | 1:66f95e364222 | 41 | #define __NRF_ESB_ERROR_CODES_H__ |
wkleunen | 1:66f95e364222 | 42 | |
wkleunen | 1:66f95e364222 | 43 | #ifdef __cplusplus |
wkleunen | 1:66f95e364222 | 44 | extern "C" { |
wkleunen | 1:66f95e364222 | 45 | #endif |
wkleunen | 1:66f95e364222 | 46 | |
wkleunen | 1:66f95e364222 | 47 | #define NRF_ERROR_BUFFER_EMPTY (0x0100) |
wkleunen | 1:66f95e364222 | 48 | |
wkleunen | 1:66f95e364222 | 49 | #define NRF_ESB_ERROR_NOT_IN_RX_MODE (0x0101) |
wkleunen | 1:66f95e364222 | 50 | |
wkleunen | 1:66f95e364222 | 51 | |
wkleunen | 1:66f95e364222 | 52 | #ifdef __cplusplus |
wkleunen | 1:66f95e364222 | 53 | } |
wkleunen | 1:66f95e364222 | 54 | #endif |
wkleunen | 1:66f95e364222 | 55 | |
wkleunen | 1:66f95e364222 | 56 | #endif |