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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_GCC_banked/] [asm-m68hcs12/] [param.h] - Blame information for rev 588

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 588 jeremybenn
/* param.h - Board specific parameters
2
   Copyright (C) 2000 Free Software Foundation, Inc.
3
   Written by Stephane Carrez (stcarrez@worldnet.fr)
4
 
5
This file is free software; you can redistribute it and/or modify it
6
under the terms of the GNU General Public License as published by the
7
Free Software Foundation; either version 2, or (at your option) any
8
later version.
9
 
10
In addition to the permissions in the GNU General Public License, the
11
Free Software Foundation gives you unlimited permission to link the
12
compiled version of this file with other programs, and to distribute
13
those programs without any restriction coming from the use of this
14
file.  (The General Public License restrictions do apply in other
15
respects; for example, they cover modification of the file, and
16
distribution when not linked into another program.)
17
 
18
This file is distributed in the hope that it will be useful, but
19
WITHOUT ANY WARRANTY; without even the implied warranty of
20
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21
General Public License for more details.
22
 
23
You should have received a copy of the GNU General Public License
24
along with this program; see the file COPYING.  If not, write to
25
the Free Software Foundation, 59 Temple Place - Suite 330,
26
Boston, MA 02111-1307, USA.  */
27
 
28
#ifndef _M68HC11_PARAM_H
29
#define _M68HC11_PARAM_H
30
 
31
/**@name M68HC12 Board Parameters.
32
 
33
   This section contains several '#define' to give configuration
34
   characteristics of the target board.  */
35
/*@{*/
36
 
37
/** CPU Clock frequency.
38
 
39
   Define the frequency of the oscillator plugged on the processor.
40
   The value is in hertz. */
41
#ifndef M6811_CPU_CLOCK
42
# define M6811_CPU_CLOCK (16e6L)
43
#endif
44
 
45
/** CPU E clock.
46
 
47
   The E clock frequency.  This frequency is used as the
48
   basis for timer computation.  The value is in hertz.  */
49
#ifndef M6811_CPU_E_CLOCK
50
# define M6811_CPU_E_CLOCK (24e6L)
51
#endif
52
 
53
#ifndef M6812_REFCLOCK
54
# define M6812_REFCLOCK         M6811_CPU_CLOCK
55
#endif
56
 
57
#ifndef M6812_REFDVVAL
58
# define M6812_REFDVVAL         (M6811_CPU_CLOCK / M6812_REFCLOCK) - 1
59
#endif
60
 
61
#ifndef M6812_SYNRVAL
62
#define M6812_SYNRVAL           (M6811_CPU_E_CLOCK / M6812_REFCLOCK) - 1
63
#endif
64
 
65
/** SIO default baud rate.
66
 
67
   Defines the default baud rate of the SIO.  This value
68
   is used to configure the BAUD register.
69
  */
70
#ifndef M6811_DEF_BAUD
71
# define M6811_DEF_BAUD (unsigned short)(M6811_CPU_E_CLOCK / 16 / 9600)
72
#endif
73
 
74
/** Use the COP.
75
 
76
   Define this if you are using the COP timer.
77
   This activate the COP reset while polling and writing on
78
   the serial line.  */
79
#ifndef M6811_USE_COP
80
# define M6811_USE_COP 0
81
#endif
82
 
83
/** Timer prescaler value.  */
84
#ifndef M6811_DEF_TPR
85
# define M6811_DEF_TPR 0
86
#endif
87
 
88
#ifndef M6811_DEF_RTR
89
# define M6811_DEF_RTR 0
90
#endif
91
 
92
/** SCI default port. */
93
#ifndef M6812_DEF_SCI
94
# define M6812_DEF_SCI   0
95
#endif
96
 
97
/*@}*/
98
 
99
#endif

powered by: WebSVN 2.1.0

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