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.
nrf_esb_resources.h
00001 /** 00002 * Copyright (c) 2016 - 2018, Nordic Semiconductor ASA 00003 * 00004 * All rights reserved. 00005 * 00006 * Redistribution and use in source and binary forms, with or without modification, 00007 * are permitted provided that the following conditions are met: 00008 * 00009 * 1. Redistributions of source code must retain the above copyright notice, this 00010 * list of conditions and the following disclaimer. 00011 * 00012 * 2. Redistributions in binary form, except as embedded into a Nordic 00013 * Semiconductor ASA integrated circuit in a product or a software update for 00014 * such product, must reproduce the above copyright notice, this list of 00015 * conditions and the following disclaimer in the documentation and/or other 00016 * materials provided with the distribution. 00017 * 00018 * 3. Neither the name of Nordic Semiconductor ASA nor the names of its 00019 * contributors may be used to endorse or promote products derived from this 00020 * software without specific prior written permission. 00021 * 00022 * 4. This software, with or without modification, must only be used with a 00023 * Nordic Semiconductor ASA integrated circuit. 00024 * 00025 * 5. Any software provided in binary form under this license must not be reverse 00026 * engineered, decompiled, modified and/or disassembled. 00027 * 00028 * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS 00029 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 00030 * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE 00031 * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE 00032 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 00033 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 00034 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00035 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00036 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 00037 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00038 * 00039 */ 00040 #ifndef NRF_ESB_RESOURCES_H__ 00041 #define NRF_ESB_RESOURCES_H__ 00042 00043 #include <stdint.h> 00044 00045 #ifdef __cplusplus 00046 extern "C" { 00047 #endif 00048 00049 /** 00050 * @defgroup nrf_esb_resources ESB resources 00051 * @{ 00052 * @ingroup nrf_esb 00053 */ 00054 00055 #ifndef ESB_ALTERNATIVE_RESOURCES 00056 #define ESB_PPI_CHANNELS_USED 0x00000007uL /**< PPI channels used by ESB (not available to the application). */ 00057 #define ESB_TIMERS_USED 0x00000004uL /**< Timers used by ESB. */ 00058 #define ESB_SWI_USED 0x00000001uL /**< Software interrupts used by ESB. */ 00059 #else 00060 #define ESB_PPI_CHANNELS_USED 0x00000700uL /**< PPI channels used by ESB (not available to the application). */ 00061 #define ESB_TIMERS_USED 0x00000001uL /**< Timers used by ESB. */ 00062 #define ESB_SWI_USED 0x00000002uL /**< Software interrupts used by ESB. */ 00063 #endif 00064 00065 /** @} */ 00066 00067 00068 #ifdef __cplusplus 00069 } 00070 #endif 00071 00072 #endif /* NRF_ESB_RESOURCES_H__ */
Generated on Sun Jul 17 2022 00:47:52 by
