BOOTLOADER
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
bootloader
drivers
uart2.c
Go to the documentation of this file.
1
/******************************************************
2
* Function: s3c2440 uart2 driver
3
*
4
* File: uart2.c
5
* Author: Book Chen
6
* Date: 2008.07.18
7
*******************************************************
8
*/
9
#include "
includes.h
"
10
11
#define Uart2IdleState 0
12
13
UART2_CONTROL
Uart2Ctrl
;
14
15
void
F_Uart2Init
(
void
);
16
void
F_Uart2Svc
(
void
);
17
void
F_Uart2BaudrateSet
(
INT32U
Baudrate);
18
void
F_Uart2InUseCheck
(
void
);
19
void
F_Uart2Allocate
(
INT16U
UserId);
20
void
F_Uart2Release
(
INT16U
UserId);
21
22
void
F_Uart2Init
(
void
){
23
Uart2Ctrl.
InUse
=
FALSE
;
24
Uart2Ctrl.
Id
=
ID_UART2
;
25
Uart2Ctrl.
State
=
Uart2IdleState
;
26
}
27
void
F_Uart2Svc
(
void
){}
28
void
F_Uart2BaudrateSet
(
INT32U
Baudrate){}
29
void
F_Uart2InUseCheck
(
void
){}
30
void
F_Uart2Allocate
(
INT16U
UserId){}
31
void
F_Uart2Release
(
INT16U
UserId){}
Generated on Wed Jun 13 2012 00:03:08 for BOOTLOADER by
1.8.1.1