mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Wed Jul 01 09:45:11 2015 +0100
Revision:
579:53297373a894
Parent:
500:04797f1feae2
Synchronized with git revision d5b4d2ab9c47edb4dc5776e7177b0c2263459081

Full URL: https://github.com/mbedmicro/mbed/commit/d5b4d2ab9c47edb4dc5776e7177b0c2263459081/

Initial version of drivers for SAMR21

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 500:04797f1feae2 1 /*******************************************************************************
mbed_official 500:04797f1feae2 2 * DISCLAIMER
mbed_official 500:04797f1feae2 3 * This software is supplied by Renesas Electronics Corporation and is only
mbed_official 500:04797f1feae2 4 * intended for use with Renesas products. No other uses are authorized. This
mbed_official 500:04797f1feae2 5 * software is owned by Renesas Electronics Corporation and is protected under
mbed_official 500:04797f1feae2 6 * all applicable laws, including copyright laws.
mbed_official 500:04797f1feae2 7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
mbed_official 500:04797f1feae2 8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
mbed_official 500:04797f1feae2 9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
mbed_official 500:04797f1feae2 10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
mbed_official 500:04797f1feae2 11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
mbed_official 500:04797f1feae2 12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
mbed_official 500:04797f1feae2 13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
mbed_official 500:04797f1feae2 14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
mbed_official 500:04797f1feae2 15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
mbed_official 500:04797f1feae2 16 * Renesas reserves the right, without notice, to make changes to this software
mbed_official 500:04797f1feae2 17 * and to discontinue the availability of this software. By using this software,
mbed_official 500:04797f1feae2 18 * you agree to the additional terms and conditions found by accessing the
mbed_official 500:04797f1feae2 19 * following link:
mbed_official 500:04797f1feae2 20 * http://www.renesas.com/disclaimer
mbed_official 500:04797f1feae2 21 * Copyright (C) 2012 - 2015 Renesas Electronics Corporation. All rights reserved.
mbed_official 500:04797f1feae2 22 *******************************************************************************/
mbed_official 500:04797f1feae2 23 /**************************************************************************//**
mbed_official 500:04797f1feae2 24 * @file nvic_wrapper.h
mbed_official 500:04797f1feae2 25 * $Rev: $
mbed_official 500:04797f1feae2 26 * $Date:: $
mbed_official 500:04797f1feae2 27 * @brief Wrapper between NVIC(for Cortex-M) and GIC(for Cortex-A9)
mbed_official 500:04797f1feae2 28 ******************************************************************************/
mbed_official 500:04797f1feae2 29
mbed_official 500:04797f1feae2 30 #ifndef NVIC_WRAPPER_H
mbed_official 500:04797f1feae2 31 #define NVIC_WRAPPER_H
mbed_official 500:04797f1feae2 32
mbed_official 500:04797f1feae2 33
mbed_official 500:04797f1feae2 34 /******************************************************************************
mbed_official 500:04797f1feae2 35 Includes <System Includes> , "Project Includes"
mbed_official 500:04797f1feae2 36 ******************************************************************************/
mbed_official 500:04797f1feae2 37 #ifdef __cplusplus
mbed_official 500:04797f1feae2 38 extern "C"
mbed_official 500:04797f1feae2 39 {
mbed_official 500:04797f1feae2 40 #endif /* __cplusplus */
mbed_official 500:04797f1feae2 41
mbed_official 500:04797f1feae2 42
mbed_official 500:04797f1feae2 43 /******************************************************************************
mbed_official 500:04797f1feae2 44 Typedef definitions
mbed_official 500:04797f1feae2 45 ******************************************************************************/
mbed_official 500:04797f1feae2 46
mbed_official 500:04797f1feae2 47 /******************************************************************************
mbed_official 500:04797f1feae2 48 Macro definitions
mbed_official 500:04797f1feae2 49 ******************************************************************************/
mbed_official 500:04797f1feae2 50
mbed_official 500:04797f1feae2 51 /******************************************************************************
mbed_official 500:04797f1feae2 52 Variable Externs
mbed_official 500:04797f1feae2 53 ******************************************************************************/
mbed_official 500:04797f1feae2 54
mbed_official 500:04797f1feae2 55 /******************************************************************************
mbed_official 500:04797f1feae2 56 Functions Prototypes
mbed_official 500:04797f1feae2 57 ******************************************************************************/
mbed_official 500:04797f1feae2 58
mbed_official 500:04797f1feae2 59 /* NVIC functions */
mbed_official 500:04797f1feae2 60 void NVIC_SetPriorityGrouping(uint32_t PriorityGroup);
mbed_official 500:04797f1feae2 61 uint32_t NVIC_GetPriorityGrouping(void);
mbed_official 500:04797f1feae2 62 void NVIC_EnableIRQ(IRQn_Type IRQn);
mbed_official 500:04797f1feae2 63 void NVIC_DisableIRQ(IRQn_Type IRQn);
mbed_official 500:04797f1feae2 64 uint32_t NVIC_GetPendingIRQ(IRQn_Type IRQn);
mbed_official 500:04797f1feae2 65 void NVIC_SetPendingIRQ(IRQn_Type IRQn);
mbed_official 500:04797f1feae2 66 void NVIC_ClearPendingIRQ(IRQn_Type IRQn);
mbed_official 500:04797f1feae2 67 uint32_t NVIC_GetActive(IRQn_Type IRQn);
mbed_official 500:04797f1feae2 68 void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority);
mbed_official 500:04797f1feae2 69 uint32_t NVIC_GetPriority(IRQn_Type IRQn);
mbed_official 500:04797f1feae2 70 uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority);
mbed_official 500:04797f1feae2 71 void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* pPreemptPriority, uint32_t* pSubPriority);
mbed_official 500:04797f1feae2 72 void NVIC_SystemReset(void);
mbed_official 500:04797f1feae2 73 /* SysTick function */
mbed_official 500:04797f1feae2 74 uint32_t SysTick_Config(uint32_t ticks);
mbed_official 500:04797f1feae2 75 /* Debug In/Output function */
mbed_official 500:04797f1feae2 76 uint32_t ITM_SendChar (uint32_t ch);
mbed_official 500:04797f1feae2 77 int32_t ITM_ReceiveChar (void);
mbed_official 500:04797f1feae2 78 int32_t ITM_CheckChar (void);
mbed_official 500:04797f1feae2 79
mbed_official 500:04797f1feae2 80 #ifdef __cplusplus
mbed_official 500:04797f1feae2 81 }
mbed_official 500:04797f1feae2 82 #endif /* __cplusplus */
mbed_official 500:04797f1feae2 83
mbed_official 500:04797f1feae2 84 #endif /* NVIC_WRAPPER_H */