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