]> git.sur5r.net Git - freertos/blob - Demo/ColdFire_MCF52221_CodeWarrior/headers/MCF52221_CCM.h
Comment the command line interpreter and lwIP sockets based server code.
[freertos] / Demo / ColdFire_MCF52221_CodeWarrior / headers / MCF52221_CCM.h
1 /* Coldfire C Header File\r
2  * Copyright Freescale Semiconductor Inc\r
3  * All rights reserved.\r
4  *\r
5  * 2008/05/23 Revision: 0.95\r
6  *\r
7  * (c) Copyright UNIS, a.s. 1997-2008\r
8  * UNIS, a.s.\r
9  * Jundrovska 33\r
10  * 624 00 Brno\r
11  * Czech Republic\r
12  * http      : www.processorexpert.com\r
13  * mail      : info@processorexpert.com\r
14  */\r
15 \r
16 #ifndef __MCF52221_CCM_H__\r
17 #define __MCF52221_CCM_H__\r
18 \r
19 \r
20 /*********************************************************************\r
21 *\r
22 * Chip Configuration Module (CCM)\r
23 *\r
24 *********************************************************************/\r
25 \r
26 /* Register read/write macros */\r
27 #define MCF_CCM_CCR                          (*(vuint16*)(0x40110004))\r
28 #define MCF_CCM_RCON                         (*(vuint16*)(0x40110008))\r
29 #define MCF_CCM_CIR                          (*(vuint16*)(0x4011000A))\r
30 \r
31 \r
32 /* Bit definitions and macros for MCF_CCM_CCR */\r
33 #define MCF_CCM_CCR_Mode(x)                  (((x)&0x7)<<0x8)\r
34 #define MCF_CCM_CCR_MODE_SINGLECHIP          (0x600)\r
35 #define MCF_CCM_CCR_MODE_EZPORT              (0x500)\r
36 \r
37 /* Bit definitions and macros for MCF_CCM_RCON */\r
38 #define MCF_CCM_RCON_MODE                    (0x1)\r
39 #define MCF_CCM_RCON_RLOAD                   (0x20)\r
40 \r
41 /* Bit definitions and macros for MCF_CCM_CIR */\r
42 #define MCF_CCM_CIR_PRN(x)                   (((x)&0x3F)<<0)\r
43 #define MCF_CCM_CIR_PIN(x)                   (((x)&0x3FF)<<0x6)\r
44 \r
45 \r
46 #endif /* __MCF52221_CCM_H__ */\r