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_NORDIC/TARGET_NRF5/irq_handlers_hw.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 | * Copyright (c) 2016 Nordic Semiconductor ASA |
| group-onsemi | 0:098463de4c5d | 3 | * All rights reserved. |
| group-onsemi | 0:098463de4c5d | 4 | * |
| group-onsemi | 0:098463de4c5d | 5 | * Redistribution and use in source and binary forms, with or without modification, |
| group-onsemi | 0:098463de4c5d | 6 | * are permitted provided that the following conditions are met: |
| group-onsemi | 0:098463de4c5d | 7 | * |
| group-onsemi | 0:098463de4c5d | 8 | * 1. Redistributions of source code must retain the above copyright notice, this list |
| group-onsemi | 0:098463de4c5d | 9 | * of conditions and the following disclaimer. |
| group-onsemi | 0:098463de4c5d | 10 | * |
| group-onsemi | 0:098463de4c5d | 11 | * 2. Redistributions in binary form, except as embedded into a Nordic Semiconductor ASA |
| group-onsemi | 0:098463de4c5d | 12 | * integrated circuit in a product or a software update for such product, must reproduce |
| group-onsemi | 0:098463de4c5d | 13 | * the above copyright notice, this list of conditions and the following disclaimer in |
| group-onsemi | 0:098463de4c5d | 14 | * the documentation and/or other materials provided with the distribution. |
| group-onsemi | 0:098463de4c5d | 15 | * |
| group-onsemi | 0:098463de4c5d | 16 | * 3. Neither the name of Nordic Semiconductor ASA nor the names of its contributors may be |
| group-onsemi | 0:098463de4c5d | 17 | * used to endorse or promote products derived from this software without specific prior |
| group-onsemi | 0:098463de4c5d | 18 | * written permission. |
| group-onsemi | 0:098463de4c5d | 19 | * |
| group-onsemi | 0:098463de4c5d | 20 | * 4. This software, with or without modification, must only be used with a |
| group-onsemi | 0:098463de4c5d | 21 | * Nordic Semiconductor ASA integrated circuit. |
| group-onsemi | 0:098463de4c5d | 22 | * |
| group-onsemi | 0:098463de4c5d | 23 | * 5. Any software provided in binary or object form under this license must not be reverse |
| group-onsemi | 0:098463de4c5d | 24 | * engineered, decompiled, modified and/or disassembled. |
| group-onsemi | 0:098463de4c5d | 25 | * |
| group-onsemi | 0:098463de4c5d | 26 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| group-onsemi | 0:098463de4c5d | 27 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| group-onsemi | 0:098463de4c5d | 28 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| group-onsemi | 0:098463de4c5d | 29 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
| group-onsemi | 0:098463de4c5d | 30 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| group-onsemi | 0:098463de4c5d | 31 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| group-onsemi | 0:098463de4c5d | 32 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| group-onsemi | 0:098463de4c5d | 33 | * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| group-onsemi | 0:098463de4c5d | 34 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| group-onsemi | 0:098463de4c5d | 35 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| group-onsemi | 0:098463de4c5d | 36 | * |
| group-onsemi | 0:098463de4c5d | 37 | */ |
| group-onsemi | 0:098463de4c5d | 38 | |
| group-onsemi | 0:098463de4c5d | 39 | /** |
| group-onsemi | 0:098463de4c5d | 40 | * @file irq_handlers_hw.h |
| group-onsemi | 0:098463de4c5d | 41 | * @brief Heleper file for wiring irq handlers to theirs vectors. |
| group-onsemi | 0:098463de4c5d | 42 | */ |
| group-onsemi | 0:098463de4c5d | 43 | |
| group-onsemi | 0:098463de4c5d | 44 | #ifndef IRQ_HANDLERS_HW_H__ |
| group-onsemi | 0:098463de4c5d | 45 | #define IRQ_HANDLERS_HW_H__ |
| group-onsemi | 0:098463de4c5d | 46 | |
| group-onsemi | 0:098463de4c5d | 47 | |
| group-onsemi | 0:098463de4c5d | 48 | typedef struct |
| group-onsemi | 0:098463de4c5d | 49 | { |
| group-onsemi | 0:098463de4c5d | 50 | IRQn_Type IRQn; |
| group-onsemi | 0:098463de4c5d | 51 | uint32_t vector; |
| group-onsemi | 0:098463de4c5d | 52 | } peripheral_handler_desc_t; |
| group-onsemi | 0:098463de4c5d | 53 | |
| group-onsemi | 0:098463de4c5d | 54 | #endif // IRQ_HANDLERS_HW_H__ |
| group-onsemi | 0:098463de4c5d | 55 |