OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF52259_CodeWarrior/] [Freescale_Headers/] [MCF52259_BWT.h] - Blame information for rev 610

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 jeremybenn
/* Coldfire C Header File
2
 * Copyright Freescale Semiconductor Inc
3
 * All rights reserved.
4
 *
5
 * 2008/04/17 Revision: 0.2
6
 *
7
 * (c) Copyright UNIS, spol. s r.o. 1997-2008
8
 * UNIS, spol. s r.o.
9
 * Jundrovska 33
10
 * 624 00 Brno
11
 * Czech Republic
12
 * http      : www.processorexpert.com
13
 * mail      : info@processorexpert.com
14
 */
15
 
16
#ifndef __MCF52259_BWT_H__
17
#define __MCF52259_BWT_H__
18
 
19
 
20
/*********************************************************************
21
*
22
* Backup Watchdog Timer Module (BWT)
23
*
24
*********************************************************************/
25
 
26
/* Register read/write macros */
27
#define MCF_BWT_WCR                          (*(vuint16*)(0x40140000))
28
#define MCF_BWT_WMR                          (*(vuint16*)(0x40140002))
29
#define MCF_BWT_WCNTR                        (*(vuint16*)(0x40140004))
30
#define MCF_BWT_WSR                          (*(vuint16*)(0x40140006))
31
 
32
 
33
/* Bit definitions and macros for MCF_BWT_WCR */
34
#define MCF_BWT_WCR_EN                       (0x1)
35
#define MCF_BWT_WCR_DBG                      (0x2)
36
#define MCF_BWT_WCR_DOZE                     (0x4)
37
#define MCF_BWT_WCR_WAIT                     (0x8)
38
#define MCF_BWT_WCR_STOP                     (0x10)
39
 
40
/* Bit definitions and macros for MCF_BWT_WMR */
41
#define MCF_BWT_WMR_WM(x)                    (((x)&0xFFFF)<<0)
42
 
43
/* Bit definitions and macros for MCF_BWT_WCNTR */
44
#define MCF_BWT_WCNTR_WC(x)                  (((x)&0xFFFF)<<0)
45
 
46
/* Bit definitions and macros for MCF_BWT_WSR */
47
#define MCF_BWT_WSR_WS(x)                    (((x)&0xFFFF)<<0)
48
 
49
 
50
#endif /* __MCF52259_BWT_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.