source:
rtems/c/src/lib/libbsp/m68k/mcf5235/startup/bspgetcpuclockspeed.c
@
d4b4664b
Last change on this file since d4b4664b was d4b4664b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/29/09 at 14:59:41 | |
---|---|
|
|
File size: 392 bytes |
Line | |
---|---|
1 | /* |
2 | * COPYRIGHT (c) 1989-2008. |
3 | * On-Line Applications Research Corporation (OAR). |
4 | * |
5 | * The license and distribution terms for this file may be |
6 | * found in the file LICENSE in this distribution or at |
7 | * |
8 | * http://www.rtems.com/license/LICENSE. |
9 | * |
10 | * $Id$ |
11 | */ |
12 | |
13 | #include <bsp.h> |
14 | |
15 | extern char _CPUClockSpeed[]; |
16 | |
17 | uint32_t get_CPU_clock_speed(void) |
18 | { |
19 | return( (uint32_t)_CPUClockSpeed); |
20 | } |
Note: See TracBrowser
for help on using the repository browser.