Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Committer:
sahilmgandhi
Date:
Sun May 14 23:18:57 2017 +0000
Revision:
18:6a4db94011d3
Publishing again

Who changed what in which revision?

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