RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
coreTimerRegs.h
1/* Blackfin Core Timer Registers
2 *
3 * Copyright (c) 2008 Kallisti Labs, Los Gatos, CA, USA
4 * written by Allan Hessenflow <allanh@kallisti.com>
5 *
6 * The license and distribution terms for this file may be
7 * found in the file LICENSE in this distribution or at
8 * http://www.rtems.org/license/LICENSE.
9 */
10
11#ifndef _coreTimerRegs_h_
12#define _coreTimerRegs_h_
13
14/* register addresses */
15
16#define TCNTL 0xffe03000
17#define TPERIOD 0xffe03004
18#define TSCALE 0xffe03008
19#define TCOUNT 0xffe0300c
20
21
22/* register fields */
23
24#define TCNTL_TINT 0x00000008
25#define TCNTL_TAUTORLD 0x00000004
26#define TCNTL_TMREN 0x00000002
27#define TCNTL_TMPWR 0x00000001
28
29#endif /* _coreTimerRegs_h_ */