File indexing completed on 2025-05-11 08:22:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef LIBBSP_ARM_CSB336_BSP_H
0020 #define LIBBSP_ARM_CSB336_BSP_H
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 #include <bspopts.h>
0033 #include <bsp/default-initial-extension.h>
0034
0035 #include <rtems.h>
0036 #include <mc9328mxl.h>
0037
0038 #ifdef __cplusplus
0039 extern "C" {
0040 #endif
0041
0042 #define BSP_FEATURE_IRQ_EXTENSION
0043
0044
0045 #define BSP_OSC_FREQ 16000000
0046 #define BSP_XTAL_FREQ 32768
0047
0048 int get_perclk1_freq(void);
0049
0050
0051
0052
0053 struct rtems_bsdnet_ifconfig;
0054
0055
0056 int rtems_mc9328mxl_enet_attach(struct rtems_bsdnet_ifconfig *config,
0057 void *chip);
0058 #define RTEMS_BSP_NETWORK_DRIVER_NAME "eth0"
0059 #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_mc9328mxl_enet_attach
0060
0061 #ifdef __cplusplus
0062 }
0063 #endif
0064
0065
0066
0067 #endif
0068