?lang_form? ?lang_select? ?lang_submit? ?lang_endform?
{HEADER END}
{BLAME START}

library

?curdirlinks? -

Blame information for rev 32

Line No. Rev Author Line
1 32 kaklik /********************************************************************
2 FileName: SCpic24.h
3 Dependencies: See INCLUDES section
4 Processor: PIC24 Microcontrollers
5 Hardware: This demo is natively intended to be used on Exp 16 board.
6 This demo can be modified for use on other hardware platforms.
7 Complier: Microchip C30 (for PIC24)
8 Company: Microchip Technology, Inc.
9  
10 Software License Agreement:
11  
12 The software supplied herewith by Microchip Technology Incorporated
13 (the “Company”) for its PIC® Microcontroller is intended and
14 supplied to you, the Company’s customer, for use solely and
15 exclusively on Microchip PIC Microcontroller products. The
16 software is owned by the Company and/or its supplier, and is
17 protected under applicable copyright laws. All rights are reserved.
18 Any use in violation of the foregoing restrictions may subject the
19 user to criminal sanctions under applicable laws, as well as to
20 civil liability for the breach of the terms and conditions of this
21 license.
22  
23 THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
24 WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
25 TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
26 PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
27 IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
28 CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
29  
30 ********************************************************************
31 File Description:
32  
33 Change History:
34 Rev Description
35 ---- -----------------------------------------
36 1.0 Initial release
37 1.01 Cleaned up unnecessary variables
38 ********************************************************************/
39  
40 #ifndef __SC_DRV24_LIB__
41 #define __SC_DRV24_LIB__
42  
43 #include "GenericTypeDefs.h"
44  
45 #if defined(__PIC24F__)
46 #include "p24Fxxxx.h"
47 #elif defined(__PIC24H__)
48 #include "p24Hxxxx.h"
49 #endif
50  
51 extern unsigned long baudRate; // Baud Rate of Smart Card Transmission/Reception Data
52 extern unsigned long scReferenceClock; // Smart Card Reference Clock
53  
54 extern void SCdrv_InitUART(void);
55 extern void SCdrv_CloseUART(void);
56 extern void SCdrv_SetBRG( BYTE speedCode );
57 extern BOOL SCdrv_GetRxData( BYTE* pDat, unsigned long nTrys );
58 extern void SCdrv_SendTxData( BYTE data );
59  
60 #endif
61  
62  
63  
{BLAME END}
{FOOTER START}

Powered by WebSVN v2.8.3