source: rtems/c/src/lib/libbsp/m68k/mcf52235/include/bsp.h @ 3bba2a9b

4.115
Last change on this file since 3bba2a9b was 3bba2a9b, checked in by Joel Sherrill <joel.sherrill@…>, on 10/20/14 at 15:58:09

m68k/mcf52235: Fix warnings

  • Property mode set to 100644
File size: 1.7 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/*
67 * Prototypes for BSP methods which cross file boundaries
68 */
69void Init52235(void);
70
71#ifdef __cplusplus
72}
73#endif
74
75#endif
Note: See TracBrowser for help on using the repository browser.