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_CCM.h] - Blame information for rev 675

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_CCM_H__
17
#define __MCF52259_CCM_H__
18
 
19
 
20
/*********************************************************************
21
*
22
* Chip Configuration Module (CCM)
23
*
24
*********************************************************************/
25
 
26
/* Register read/write macros */
27
#define MCF_CCM_CCR                          (*(vuint16*)(0x40110004))
28
#define MCF_CCM_RCON                         (*(vuint16*)(0x40110008))
29
#define MCF_CCM_CIR                          (*(vuint16*)(0x4011000A))
30
#define MCF_CCM_CCE                          (*(vuint16*)(0x40110010))
31
 
32
 
33
/* Bit definitions and macros for MCF_CCM_CCR */
34
#define MCF_CCM_CCR_Mode(x)                  (((x)&0x7)<<0x8)
35
#define MCF_CCM_CCR_MODE_SINGLECHIP          (0x600)
36
#define MCF_CCM_CCR_MODE_EZPORT              (0x500)
37
#define MCF_CCM_CCR_LOAD                     (0x8000)
38
 
39
/* Bit definitions and macros for MCF_CCM_RCON */
40
#define MCF_CCM_RCON_RLOAD                   (0x20)
41
 
42
/* Bit definitions and macros for MCF_CCM_CIR */
43
#define MCF_CCM_CIR_PRN(x)                   (((x)&0x3F)<<0)
44
#define MCF_CCM_CIR_PIN(x)                   (((x)&0x3FF)<<0x6)
45
 
46
/* Bit definitions and macros for MCF_CCM_CCE */
47
#define MCF_CCM_CCE_USBEND                   (0x4000)
48
#define MCF_CCM_CCE_MBMOD                    (0x8000)
49
 
50
 
51
#endif /* __MCF52259_CCM_H__ */

powered by: WebSVN 2.1.0

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