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 ******************************************************************************
sahilmgandhi 18:6a4db94011d3 3 * @file swversion.c
sahilmgandhi 18:6a4db94011d3 4 * @brief Defines the system revision for the current application.
sahilmgandhi 18:6a4db94011d3 5 * @internal
sahilmgandhi 18:6a4db94011d3 6 * @author ON Semiconductor
sahilmgandhi 18:6a4db94011d3 7 * $Rev: 2199 $
sahilmgandhi 18:6a4db94011d3 8 * $Date: 2013-08-07 12:17:27 +0200 (Wed, 07 Aug 2013) $
sahilmgandhi 18:6a4db94011d3 9 ******************************************************************************
sahilmgandhi 18:6a4db94011d3 10 * Copyright 2016 Semiconductor Components Industries LLC (d/b/a "ON Semiconductor").
sahilmgandhi 18:6a4db94011d3 11 * All rights reserved. This software and/or documentation is licensed by ON Semiconductor
sahilmgandhi 18:6a4db94011d3 12 * under limited terms and conditions. The terms and conditions pertaining to the software
sahilmgandhi 18:6a4db94011d3 13 * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf
sahilmgandhi 18:6a4db94011d3 14 * ("ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software") and
sahilmgandhi 18:6a4db94011d3 15 * if applicable the software license agreement. Do not use this software and/or
sahilmgandhi 18:6a4db94011d3 16 * documentation unless you have carefully read and you agree to the limited terms and
sahilmgandhi 18:6a4db94011d3 17 * conditions. By using this software and/or documentation, you agree to the limited
sahilmgandhi 18:6a4db94011d3 18 * terms and conditions.
sahilmgandhi 18:6a4db94011d3 19 *
sahilmgandhi 18:6a4db94011d3 20 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
sahilmgandhi 18:6a4db94011d3 21 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
sahilmgandhi 18:6a4db94011d3 22 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
sahilmgandhi 18:6a4db94011d3 23 * ON SEMICONDUCTOR SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL,
sahilmgandhi 18:6a4db94011d3 24 * INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
sahilmgandhi 18:6a4db94011d3 25 * @endinternal
sahilmgandhi 18:6a4db94011d3 26 *
sahilmgandhi 18:6a4db94011d3 27 * @ingroup common_mib
sahilmgandhi 18:6a4db94011d3 28 */
sahilmgandhi 18:6a4db94011d3 29
sahilmgandhi 18:6a4db94011d3 30 /* Other inclusions */
sahilmgandhi 18:6a4db94011d3 31 #include <stdint.h>
sahilmgandhi 18:6a4db94011d3 32 #include "fib.h"
sahilmgandhi 18:6a4db94011d3 33
sahilmgandhi 18:6a4db94011d3 34 /*************************************************************************************************
sahilmgandhi 18:6a4db94011d3 35 * *
sahilmgandhi 18:6a4db94011d3 36 * Global variables *
sahilmgandhi 18:6a4db94011d3 37 * *
sahilmgandhi 18:6a4db94011d3 38 *************************************************************************************************/
sahilmgandhi 18:6a4db94011d3 39
sahilmgandhi 18:6a4db94011d3 40 #ifdef __ICCARM__
sahilmgandhi 18:6a4db94011d3 41 /** Define a fib table constant region, to be located at fixed offset in the binary
sahilmgandhi 18:6a4db94011d3 42 * such that flash loader knows where to find it and gets the build dependent data
sahilmgandhi 18:6a4db94011d3 43 * it needs for programming the new fib.
sahilmgandhi 18:6a4db94011d3 44 */
sahilmgandhi 18:6a4db94011d3 45 __root const fibtable_t fib_table @ "FIBTABLE" = {LOAD_ADDRESS,{0x0,0x00,0x00,0x00}};
sahilmgandhi 18:6a4db94011d3 46 #endif /* __ICCARM__ */
sahilmgandhi 18:6a4db94011d3 47
sahilmgandhi 18:6a4db94011d3 48 const mib_systemRevision_t systemRevision = {
sahilmgandhi 18:6a4db94011d3 49 0x82, /**< hardware revision */
sahilmgandhi 18:6a4db94011d3 50 0x00, /**< patch level */
sahilmgandhi 18:6a4db94011d3 51 0x01, /**< Build number */
sahilmgandhi 18:6a4db94011d3 52 0x00, /**< feature set, Minor version */
sahilmgandhi 18:6a4db94011d3 53 0x01, /**< generation, Major version */
sahilmgandhi 18:6a4db94011d3 54 'E' /**< release */
sahilmgandhi 18:6a4db94011d3 55 };