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
8 * File: mcf523x_rcm.h
\r
9 * Purpose: Register and bit definitions for the MCF523X
\r
15 #ifndef __MCF523X_RCM_H__
\r
16 #define __MCF523X_RCM_H__
\r
18 /*********************************************************************
\r
20 * Reset Configuration Module (RCM)
\r
22 *********************************************************************/
\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
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
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
40 /********************************************************************/
\r
42 #endif /* __MCF523X_RCM_H__ */
\r