MakingThings
  • Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

Board.h

00001 /*----------------------------------------------------------------------------
00002 *         ATMEL Microcontroller Software Support  -  ROUSSET  -
00003 *----------------------------------------------------------------------------
00004 * The software is delivered "AS IS" without warranty or condition of any
00005 * kind, either express, implied or statutory. This includes without
00006 * limitation any warranty or condition with respect to merchantability or
00007 * fitness for any particular purpose, or against the infringements of
00008 * intellectual property rights of others.
00009 *----------------------------------------------------------------------------
00010 * File Name           : Board.h
00011 * Object              : AT91SAM7X Evaluation Board Features Definition File.
00012 *
00013 * Creation            : JG   20/Jun/2005
00014 *----------------------------------------------------------------------------
00015 */
00016 #ifndef Board_h
00017 #define Board_h
00018 
00019 #include "AT91SAM7X256.h"
00020 //#include "ioat91sam7x256.h"
00021 
00022 /* MAKE BOARD USES PB4, rather than RB18 for PHY power signal */
00023 /* HAS LED ON RB12 */
00024 #define MAKE_BOARD 1
00025 
00026 
00027 /*-------------------------------*/
00028 /* SAM7Board Memories Definition */
00029 /*-------------------------------*/
00030 // The AT91SAM7X128 embeds a 32-Kbyte SRAM bank, and 128K-Byte Flash
00031 
00032 #define  FLASH_PAGE_NB    256
00033 #define  FLASH_PAGE_SIZE  128
00034 
00035 /*--------------*/
00036 /* Master Clock */
00037 /*--------------*/
00038 
00039 #define EXT_OC          18432000   // Exetrnal ocilator MAINCK
00040 #define MCK             47923200   // MCK (PLLRC div by 2)
00041 #define MCKKHz          (MCK/1000) //
00042 
00043 #endif /* Board_h */

The Make Controller Kit is an open source project maintained by MakingThings.
MakingThings code is released under the Apache 2.0 license.
Bug tracker, development wiki and status can be found at http://dev.makingthings.com.
This document was last updated on 18 May 2009.