source: rtems/bsps/m68k/av5282/include/bsp.h

Last change on this file was c991eeec, checked in by Sebastian Huber <sebastian.huber@…>, on 03/04/19 at 14:32:15

bsps: Adjust bsp.h Doxygen groups

Update #3706.

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[7388557]1/**
2 * @file
3 *
[c991eeec]4 * @ingroup RTEMSBSPsM68kAV5282
[7388557]5 *
6 * @brief Global BSP definitions.
7 */
8
[1b269c56]9/*
10 *  av5282 BSP header file
11 */
[d4b4664b]12
[c991eeec]13#ifndef LIBBSP_M68K_AV5282_BSP_H
14#define LIBBSP_M68K_AV5282_BSP_H
15
[3d4898f]16/**
[c991eeec]17 * @defgroup RTEMSBSPsM68kAV5282 AV5282
[3d4898f]18 *
[212663be]19 * @ingroup RTEMSBSPsM68k
[3d4898f]20 *
[c991eeec]21 * @brief AV5282 Board Support Package.
22 *
23 * @{
[3d4898f]24 */
25
26#ifndef ASM
27
[12007d0]28#include <bspopts.h>
[a052181]29#include <bsp/default-initial-extension.h>
[12007d0]30
[1b269c56]31#include <rtems.h>
32#include <rtems/bspIo.h>
33
34/***************************************************************************/
35/**  Hardware data structure headers                                      **/
36#include <mcf5282/mcf5282.h>   /* internal MCF5282 modules */
37
[46dde0fc]38#ifdef __cplusplus
39extern "C" {
40#endif
41
[1b269c56]42/***************************************************************************/
43/**  Network driver configuration                                         **/
44struct rtems_bsdnet_ifconfig;
45extern int rtems_fec_driver_attach (struct rtems_bsdnet_ifconfig *config, int attaching );
46#define RTEMS_BSP_NETWORK_DRIVER_NAME     "fs1"
47#define RTEMS_BSP_NETWORK_DRIVER_ATTACH   rtems_fec_driver_attach
48
49/***************************************************************************/
50/**  User Definable configuration                                         **/
51
52/* define which port the console should use - all other ports are then defined as general purpose */
53#define CONSOLE_PORT        0
54
55/* externals */
56
57/* constants */
58
59/* miscellaneous stuff assumed to exist */
60
61/* functions */
62
[71a7ed0]63uint32_t get_CPU_clock_speed(void);
[1b269c56]64
[1fec9e0]65rtems_isr_entry set_vector(
[1b269c56]66  rtems_isr_entry     handler,
67  rtems_vector_number vector,
68  int                 type
69);
70
71/*
72 * Interrupt assignments
73 *  Highest-priority listed first
74 */
75#define FEC_IRQ_LEVEL       4
76#define FEC_IRQ_RX_PRIORITY 7
77#define FEC_IRQ_TX_PRIORITY 6
78
79#define PIT3_IRQ_LEVEL      4
80#define PIT3_IRQ_PRIORITY   0
81
82#define UART0_IRQ_LEVEL     3
83#define UART0_IRQ_PRIORITY  7
84#define UART1_IRQ_LEVEL     3
85#define UART1_IRQ_PRIORITY  6
86#define UART2_IRQ_LEVEL     3
87#define UART2_IRQ_PRIORITY  5
88
[3d4898f]89/*
90 * Prototypes for methods called from .S to alow dependency tracking
91 */
92void Init5282(void);
93
[1b269c56]94#ifdef __cplusplus
95}
96#endif
97
[3d4898f]98#endif /* !ASM */
[c991eeec]99
100/** @} */
101
[1b269c56]102#endif
Note: See TracBrowser for help on using the repository browser.