RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
arm
smdk2410
include
bsp.h
Go to the documentation of this file.
1
6
7
/*
8
* Copyright (c) Canon Research France SA.]
9
* Emmanuel Raguet, mailto:raguet@crf.canon.fr
10
*
11
* The license and distribution terms for this file may be
12
* found in the file LICENSE in this distribution or at
13
* http://www.rtems.org/license/LICENSE.
14
*/
15
16
#ifndef LIBBSP_ARM_SMDK2410_BSP_H
17
#define LIBBSP_ARM_SMDK2410_BSP_H
18
28
29
#include <bspopts.h>
30
#include <
bsp/default-initial-extension.h
>
31
32
#include <
rtems.h
>
33
#include <s3c24xx.h>
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
39
#define BSP_FEATURE_IRQ_EXTENSION
40
45
46
uint32_t
get_FCLK
(
void
);
47
uint32_t get_HCLK(
void
);
48
uint32_t get_PCLK(
void
);
49
uint32_t get_UCLK(
void
);
50
52
53
/* What is the input clock freq in hertz? */
55
#define BSP_OSC_FREQ 12000000
57
#define M_MDIV 81
58
#define M_PDIV 2
59
#define M_SDIV 1
61
#define M_CLKDIVN 2
63
#define REFEN 0x1
65
#define TREFMD 0x0
67
#define Trp 0x0
69
#define Trc 0x3
71
#define Tchr 0x2
72
79
void
*
bsp_idle_thread
(uintptr_t ignored);
80
82
83
#define BSP_IDLE_TASK_BODY bsp_idle_thread
84
85
#ifdef __cplusplus
86
}
87
#endif
88
90
91
#endif
/* _BSP_H */
92
default-initial-extension.h
This header file provides the default definition of BSP_INITIAL_EXTENSION.
bsp_idle_thread
void * bsp_idle_thread(uintptr_t ignored)
Optimized idle task.
Definition
bspidle.c:39
get_FCLK
uint32_t get_FCLK(void)
functions to get the differents s3c2400 clks
Definition
support.c:16
rtems.h
This header file defines the RTEMS Classic API.
Generated by
1.18.0