mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Committer:
fwndz
Date:
Thu Dec 22 05:12:40 2016 +0000
Revision:
153:9398a535854b
Parent:
150:02e0a0aed4ec
device target maximize

Who changed what in which revision?

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