summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/HAL/avr/atmega1281/common/include/halFCPU.h
blob: fe961e602bb5cf253360b7bf50def79289509fb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**************************************************************************//**
  \file  halFCPU.h

  \brief Declaration F_CPU for C code.

  \author
      Atmel Corporation: http://www.atmel.com \n
      Support email: avr@atmel.com

    Copyright (c) 2008-2011, Atmel Corporation. All rights reserved.
    Licensed under Atmel's Limited License Agreement (BitCloudTM).

  \internal
    History:
      6/10/08 A. Khromykh - Created
 ******************************************************************************/
/******************************************************************************
 *   WARNING: CHANGING THIS FILE MAY AFFECT CORE FUNCTIONALITY OF THE STACK.  *
 *   EXPERT USERS SHOULD PROCEED WITH CAUTION.                                *
 ******************************************************************************/

/******************************************************************************
                   Define(s) section
******************************************************************************/
/* Main clock of CPU in Hz. */
#if defined(HAL_3d6864MHz)
  #define F_CPU 3686400
#elif defined(HAL_4MHz)
  #define F_CPU 4000000
#elif defined(HAL_7d3728MHz)
  #define F_CPU 7372800
#elif defined(HAL_8MHz)
  #define F_CPU 8000000
#endif

// eof halFCPU.h