]> git.sur5r.net Git - freertos/blob - Demo/lwIP_MCF5235_GCC/include/arch/mcf523x/mcf523x_rcm.h
Start to re-arrange files to include FreeRTOS+ in main download.
[freertos] / Demo / lwIP_MCF5235_GCC / include / arch / mcf523x / mcf523x_rcm.h
1 /*\r
2  * These files are taken from the MCF523X source code example package\r
3  * which is available on the Freescale website. Freescale explicitly \r
4  * grants the redistribution and modification of these source files.\r
5  * The complete licensing information is available in the file \r
6  * LICENSE_FREESCALE.TXT.\r
7  *\r
8  * File:        mcf523x_rcm.h\r
9  * Purpose:     Register and bit definitions for the MCF523X\r
10  *\r
11  * Notes:       \r
12  *      \r
13  */\r
14 \r
15 #ifndef __MCF523X_RCM_H__\r
16 #define __MCF523X_RCM_H__\r
17 \r
18 /*********************************************************************\r
19 *\r
20 * Reset Configuration Module (RCM)\r
21 *\r
22 *********************************************************************/\r
23 \r
24 /* Register read/write macros */\r
25 #define MCF_RCM_RCR    (*(vuint8 *)(void*)(&__IPSBAR[0x110000]))\r
26 #define MCF_RCM_RSR    (*(vuint8 *)(void*)(&__IPSBAR[0x110001]))\r
27 \r
28 /* Bit definitions and macros for MCF_RCM_RCR */\r
29 #define MCF_RCM_RCR_FRCRSTOUT    (0x40)\r
30 #define MCF_RCM_RCR_SOFTRST      (0x80)\r
31 \r
32 /* Bit definitions and macros for MCF_RCM_RSR */\r
33 #define MCF_RCM_RSR_LOL          (0x01)\r
34 #define MCF_RCM_RSR_LOC          (0x02)\r
35 #define MCF_RCM_RSR_EXT          (0x04)\r
36 #define MCF_RCM_RSR_POR          (0x08)\r
37 #define MCF_RCM_RSR_WDR          (0x10)\r
38 #define MCF_RCM_RSR_SOFT         (0x20)\r
39 \r
40 /********************************************************************/\r
41 \r
42 #endif /* __MCF523X_RCM_H__ */\r