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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [ColdFire_MCF52233_Eclipse/] [RTOSDemo/] [MCF5223x/] [MCF52235_RCM.h] - Blame information for rev 578

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
 * 2007/03/19 Revision: 0.91
6
 */
7
 
8
#ifndef __MCF52235_RCM_H__
9
#define __MCF52235_RCM_H__
10
 
11
 
12
/*********************************************************************
13
*
14
* Reset Controller Module (RCM)
15
*
16
*********************************************************************/
17
 
18
/* Register read/write macros */
19
#define MCF_RCM_RCR                          (*(vuint8 *)(&__IPSBAR[0x110000]))
20
#define MCF_RCM_RSR                          (*(vuint8 *)(&__IPSBAR[0x110001]))
21
#define MCF_RCM_CCR                          (*(vuint16*)(&__IPSBAR[0x110004]))
22
#define MCF_RCM_CIR                          (*(vuint16*)(&__IPSBAR[0x11000A]))
23
 
24
/* Bit definitions and macros for MCF_RCM_RCR */
25
#define MCF_RCM_RCR_LVDE                     (0x1)
26
#define MCF_RCM_RCR_LVDRE                    (0x4)
27
#define MCF_RCM_RCR_LVDIE                    (0x8)
28
#define MCF_RCM_RCR_LVDF                     (0x10)
29
#define MCF_RCM_RCR_FRCRSTOUT                (0x40)
30
#define MCF_RCM_RCR_SOFTRST                  (0x80)
31
 
32
/* Bit definitions and macros for MCF_RCM_RSR */
33
#define MCF_RCM_RSR_LOL                      (0x1)
34
#define MCF_RCM_RSR_LOC                      (0x2)
35
#define MCF_RCM_RSR_EXT                      (0x4)
36
#define MCF_RCM_RSR_POR                      (0x8)
37
#define MCF_RCM_RSR_WDR                      (0x10)
38
#define MCF_RCM_RSR_SOFT                     (0x20)
39
#define MCF_RCM_RSR_LVD                      (0x40)
40
 
41
/* Bit definitions and macros for MCF_RCM_CCR */
42
#define MCF_RCM_CCR_LOAD                     (0x8000)
43
 
44
 
45
#endif /* __MCF52235_RCM_H__ */

powered by: WebSVN 2.1.0

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