]> git.sur5r.net Git - freertos/blob - Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/osram128x64x4.h
Start to re-arrange files to include FreeRTOS+ in main download.
[freertos] / Demo / CORTEX_LM3Sxxxx_Eclipse / RTOSDemo / osram128x64x4.h
1 //*****************************************************************************\r
2 //\r
3 // osram128x64x4.h - Prototypes for the driver for the OSRAM 128x64x4 graphical\r
4 //                   OLED display.\r
5 //\r
6 // Copyright (c) 2006-2007 Luminary Micro, Inc.  All rights reserved.\r
7 // \r
8 // Software License Agreement\r
9 // \r
10 // Luminary Micro, Inc. (LMI) is supplying this software for use solely and\r
11 // exclusively on LMI's microcontroller products.\r
12 // \r
13 // The software is owned by LMI and/or its suppliers, and is protected under\r
14 // applicable copyright laws.  All rights are reserved.  Any use in violation\r
15 // of the foregoing restrictions may subject the user to criminal sanctions\r
16 // under applicable laws, as well as to civil liability for the breach of the\r
17 // terms and conditions of this license.\r
18 // \r
19 // THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED\r
20 // OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF\r
21 // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.\r
22 // LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR\r
23 // CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.\r
24 // \r
25 // This is part of revision 1408 of the Stellaris Peripheral Driver Library.\r
26 //\r
27 //*****************************************************************************\r
28 \r
29 #ifndef __OSRAM128X64X4_H__\r
30 #define __OSRAM128X64X4_H__\r
31 \r
32 //*****************************************************************************\r
33 //\r
34 // Prototypes for the driver APIs.\r
35 //\r
36 //*****************************************************************************\r
37 extern void OSRAM128x64x4Clear(void);\r
38 extern void OSRAM128x64x4StringDraw(const char *pcStr,\r
39                                     unsigned long ulX,\r
40                                     unsigned long ulY,\r
41                                     unsigned char ucLevel);\r
42 extern void OSRAM128x64x4ImageDraw(const unsigned char *pucImage,\r
43                                    unsigned long ulX,\r
44                                    unsigned long ulY,\r
45                                    unsigned long ulWidth,\r
46                                    unsigned long ulHeight);\r
47 extern void OSRAM128x64x4Init(unsigned long ulFrequency);\r
48 extern void OSRAM128x64x4Enable(unsigned long ulFrequency);\r
49 extern void OSRAM128x64x4Disable(void);\r
50 extern void OSRAM128x64x4DisplayOn(void);\r
51 extern void OSRAM128x64x4DisplayOff(void);\r
52 \r
53 //*****************************************************************************\r
54 //\r
55 // The following macro(s) map old names for the OSRAM functions to the new\r
56 // names.  In new code, the new names should be used in favor of the old names.\r
57 //\r
58 //*****************************************************************************\r
59 #ifndef DEPRECATED\r
60 #define OSRAM128x64x1InitSSI    OSRAM128x64x4Enable\r
61 #endif\r
62 \r
63 #endif // __OSRAM128X64X4_H__\r