Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
97:433970e64889
.

Who changed what in which revision?

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