The official mbed C/C SDK provides the software platform and libraries to build your applications.
Fork of mbed by
TARGET_RZ_A1H/system_MBRZA1H.h@99:7f6c6de930c0, 2015-05-03 (annotated)
- Committer:
- Mikchel
- Date:
- Sun May 03 16:04:42 2015 +0000
- Revision:
- 99:7f6c6de930c0
- Parent:
- 92:4fc01daae5a5
12
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 92:4fc01daae5a5 | 1 | /**************************************************************************//** |
bogdanm | 92:4fc01daae5a5 | 2 | * @file system_MBRZA1H.h |
bogdanm | 92:4fc01daae5a5 | 3 | * @brief CMSIS Device System Header File for |
bogdanm | 92:4fc01daae5a5 | 4 | * ARMCA9 Device Series |
bogdanm | 92:4fc01daae5a5 | 5 | * @version V1.00 |
bogdanm | 92:4fc01daae5a5 | 6 | * @date 11 June 2013 |
bogdanm | 92:4fc01daae5a5 | 7 | * |
bogdanm | 92:4fc01daae5a5 | 8 | * @note |
bogdanm | 92:4fc01daae5a5 | 9 | * |
bogdanm | 92:4fc01daae5a5 | 10 | ******************************************************************************/ |
bogdanm | 92:4fc01daae5a5 | 11 | /* Copyright (c) 2011 - 2013 ARM LIMITED |
bogdanm | 92:4fc01daae5a5 | 12 | |
bogdanm | 92:4fc01daae5a5 | 13 | All rights reserved. |
bogdanm | 92:4fc01daae5a5 | 14 | Redistribution and use in source and binary forms, with or without |
bogdanm | 92:4fc01daae5a5 | 15 | modification, are permitted provided that the following conditions are met: |
bogdanm | 92:4fc01daae5a5 | 16 | - Redistributions of source code must retain the above copyright |
bogdanm | 92:4fc01daae5a5 | 17 | notice, this list of conditions and the following disclaimer. |
bogdanm | 92:4fc01daae5a5 | 18 | - Redistributions in binary form must reproduce the above copyright |
bogdanm | 92:4fc01daae5a5 | 19 | notice, this list of conditions and the following disclaimer in the |
bogdanm | 92:4fc01daae5a5 | 20 | documentation and/or other materials provided with the distribution. |
bogdanm | 92:4fc01daae5a5 | 21 | - Neither the name of ARM nor the names of its contributors may be used |
bogdanm | 92:4fc01daae5a5 | 22 | to endorse or promote products derived from this software without |
bogdanm | 92:4fc01daae5a5 | 23 | specific prior written permission. |
bogdanm | 92:4fc01daae5a5 | 24 | * |
bogdanm | 92:4fc01daae5a5 | 25 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
bogdanm | 92:4fc01daae5a5 | 26 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
bogdanm | 92:4fc01daae5a5 | 27 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
bogdanm | 92:4fc01daae5a5 | 28 | ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
bogdanm | 92:4fc01daae5a5 | 29 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
bogdanm | 92:4fc01daae5a5 | 30 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
bogdanm | 92:4fc01daae5a5 | 31 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
bogdanm | 92:4fc01daae5a5 | 32 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
bogdanm | 92:4fc01daae5a5 | 33 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
bogdanm | 92:4fc01daae5a5 | 34 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
bogdanm | 92:4fc01daae5a5 | 35 | POSSIBILITY OF SUCH DAMAGE. |
bogdanm | 92:4fc01daae5a5 | 36 | ---------------------------------------------------------------------------*/ |
bogdanm | 92:4fc01daae5a5 | 37 | |
bogdanm | 92:4fc01daae5a5 | 38 | |
bogdanm | 92:4fc01daae5a5 | 39 | #ifndef __SYSTEM_MBRZA1H |
bogdanm | 92:4fc01daae5a5 | 40 | #define __SYSTEM_MBRZA1H |
bogdanm | 92:4fc01daae5a5 | 41 | |
bogdanm | 92:4fc01daae5a5 | 42 | #ifdef __cplusplus |
bogdanm | 92:4fc01daae5a5 | 43 | extern "C" { |
bogdanm | 92:4fc01daae5a5 | 44 | #endif |
bogdanm | 92:4fc01daae5a5 | 45 | |
bogdanm | 92:4fc01daae5a5 | 46 | typedef void(*IRQHandler)(); |
bogdanm | 92:4fc01daae5a5 | 47 | uint32_t InterruptHandlerRegister(IRQn_Type, IRQHandler); |
bogdanm | 92:4fc01daae5a5 | 48 | uint32_t InterruptHandlerUnregister(IRQn_Type); |
bogdanm | 92:4fc01daae5a5 | 49 | |
bogdanm | 92:4fc01daae5a5 | 50 | /** |
bogdanm | 92:4fc01daae5a5 | 51 | * Initialize the system |
bogdanm | 92:4fc01daae5a5 | 52 | * |
bogdanm | 92:4fc01daae5a5 | 53 | * @param none |
bogdanm | 92:4fc01daae5a5 | 54 | * @return none |
bogdanm | 92:4fc01daae5a5 | 55 | * |
bogdanm | 92:4fc01daae5a5 | 56 | * @brief Setup the microcontroller system. |
bogdanm | 92:4fc01daae5a5 | 57 | * Initialize the System and update the Systd short int16_t;emCoreClock variable. |
bogdanm | 92:4fc01daae5a5 | 58 | */ |
bogdanm | 92:4fc01daae5a5 | 59 | extern void SystemInit (void); |
bogdanm | 92:4fc01daae5a5 | 60 | |
bogdanm | 92:4fc01daae5a5 | 61 | #ifdef __cplusplus |
bogdanm | 92:4fc01daae5a5 | 62 | } |
bogdanm | 92:4fc01daae5a5 | 63 | #endif |
bogdanm | 92:4fc01daae5a5 | 64 | |
bogdanm | 92:4fc01daae5a5 | 65 | #endif /* __SYSTEM_MBRZA1H */ |