source: rtems/c/src/lib/libbsp/m68k/mcf52235/include/bsp.h @ 053abcda

4.11
Last change on this file since 053abcda was 053abcda, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 23, 2014 at 11:38:43 PM

multiple BSPs: Remove BSP_SMALL_MEMORY

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/*
2 *  mcf52235 BSP header file
3 */
4
5#ifndef _BSP_H
6#define _BSP_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12#include <bspopts.h>
13#include <bsp/default-initial-extension.h>
14#include <rtems.h>
15#include <rtems/iosupp.h>
16#include <rtems/console.h>
17#include <rtems/clockdrv.h>
18#include <rtems/iosupp.h>
19#include <rtems/bspIo.h>
20
21/***************************************************************************/
22/**  Hardware data structure headers                                      **/
23#include <mcf5223x/mcf5223x.h>
24
25/* Declare base address of peripherals area */
26#define __IPSBAR ((vuint8 *) 0x40000000)
27
28/***************************************************************************/
29/**  Network driver configuration                                         **/
30
31/***************************************************************************/
32/**  User Definable configuration                                         **/
33
34/* define which port the console should use - all other ports are then defined as general purpose */
35#define CONSOLE_PORT        0
36
37/* externals */
38
39/* constants */
40
41/* functions */
42
43uint32_t bsp_get_CPU_clock_speed(void);
44
45rtems_isr_entry set_vector(
46  rtems_isr_entry     handler,
47  rtems_vector_number vector,
48  int                 type
49);
50
51/*
52 * Interrupt assignments
53 *  Highest-priority listed first
54 */
55
56#define PIT3_IRQ_LEVEL      4
57#define PIT3_IRQ_PRIORITY   0
58
59#define UART0_IRQ_LEVEL     3
60#define UART0_IRQ_PRIORITY  7
61#define UART1_IRQ_LEVEL     3
62#define UART1_IRQ_PRIORITY  6
63#define UART2_IRQ_LEVEL     3
64#define UART2_IRQ_PRIORITY  5
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif
Note: See TracBrowser for help on using the repository browser.