Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Committer:
sahilmgandhi
Date:
Sat Jun 03 00:22:44 2017 +0000
Revision:
46:b156ef445742
Parent:
18:6a4db94011d3
Final code for internal battlebot competition.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sahilmgandhi 18:6a4db94011d3 1 /* mbed Microcontroller Library
sahilmgandhi 18:6a4db94011d3 2 * Copyright (C) 2008-2015 ARM Limited. All rights reserved.
sahilmgandhi 18:6a4db94011d3 3 *
sahilmgandhi 18:6a4db94011d3 4 * ARM7 version of CMSIS-like functionality - not advised for use outside mbed!
sahilmgandhi 18:6a4db94011d3 5 * based on cmsis system_LPC17xx.h
sahilmgandhi 18:6a4db94011d3 6 */
sahilmgandhi 18:6a4db94011d3 7
sahilmgandhi 18:6a4db94011d3 8 #ifndef __SYSTEM_LPC24xx_H
sahilmgandhi 18:6a4db94011d3 9 #define __SYSTEM_LPC24xx_H
sahilmgandhi 18:6a4db94011d3 10
sahilmgandhi 18:6a4db94011d3 11 #ifdef __cplusplus
sahilmgandhi 18:6a4db94011d3 12 extern "C" {
sahilmgandhi 18:6a4db94011d3 13 #endif
sahilmgandhi 18:6a4db94011d3 14
sahilmgandhi 18:6a4db94011d3 15 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
sahilmgandhi 18:6a4db94011d3 16
sahilmgandhi 18:6a4db94011d3 17 /**
sahilmgandhi 18:6a4db94011d3 18 * Initialize the system
sahilmgandhi 18:6a4db94011d3 19 *
sahilmgandhi 18:6a4db94011d3 20 * @param none
sahilmgandhi 18:6a4db94011d3 21 * @return none
sahilmgandhi 18:6a4db94011d3 22 *
sahilmgandhi 18:6a4db94011d3 23 * @brief Setup the microcontroller system.
sahilmgandhi 18:6a4db94011d3 24 * Initialize the System and update the SystemCoreClock variable.
sahilmgandhi 18:6a4db94011d3 25 */
sahilmgandhi 18:6a4db94011d3 26 extern void SystemInit (void);
sahilmgandhi 18:6a4db94011d3 27
sahilmgandhi 18:6a4db94011d3 28 /**
sahilmgandhi 18:6a4db94011d3 29 * Update SystemCoreClock variable
sahilmgandhi 18:6a4db94011d3 30 *
sahilmgandhi 18:6a4db94011d3 31 * @param none
sahilmgandhi 18:6a4db94011d3 32 * @return none
sahilmgandhi 18:6a4db94011d3 33 *
sahilmgandhi 18:6a4db94011d3 34 * @brief Updates the SystemCoreClock with current core Clock
sahilmgandhi 18:6a4db94011d3 35 * retrieved from cpu registers.
sahilmgandhi 18:6a4db94011d3 36 */
sahilmgandhi 18:6a4db94011d3 37 extern void SystemCoreClockUpdate (void);
sahilmgandhi 18:6a4db94011d3 38
sahilmgandhi 18:6a4db94011d3 39
sahilmgandhi 18:6a4db94011d3 40 #ifdef __cplusplus
sahilmgandhi 18:6a4db94011d3 41 }
sahilmgandhi 18:6a4db94011d3 42 #endif
sahilmgandhi 18:6a4db94011d3 43
sahilmgandhi 18:6a4db94011d3 44 #endif