aboutsummaryrefslogtreecommitdiffhomepage
path: root/AT91SAM7S256/Source/d_hispeed.h
blob: ffdabfed7c14d8c15f7ba19a6611ffff0a639f28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
// Date init       14.12.2004
//
// Revision date   $Date:: 14-11-07 12:40                                    $
//
// Filename        $Workfile:: d_hispeed.h                                   $
//
// Version         $Revision:: 1                                             $
//
// Archive         $Archive:: /LMS2006/Sys01/Main_V02/Firmware/Source/d_hisp $
//
// Platform        C
//

#ifndef   D_HISPEED
#define   D_HISPEED

void      dHiSpeedInit(void);
void      dHiSpeedSendData(UBYTE *OutputBuffer, UBYTE BytesToSend);
void      dHiSpeedSetupUart(UBYTE speed, UWORD mode, UBYTE umode);
void      dHiSpeedInitReceive(UBYTE *InputBuffer);
void      dHiSpeedReceivedData(UWORD *ByteCnt);
void      dHiSpeedExit(void);
void      dHiSpeedBytesToSend(UWORD *bts);

/*
int hs_send(U8 address, U8 control, U8 *data, int offset, int len, U16 *CRCTab);
int hs_recv(U8 *data, int len, U16 *CRCTab, int reset);
*/
#endif