1 //*****************************************************************************
\r
3 // osram128x64x4.h - Prototypes for the driver for the OSRAM 128x64x4 graphical
\r
6 // Copyright (c) 2006-2007 Luminary Micro, Inc. All rights reserved.
\r
8 // Software License Agreement
\r
10 // Luminary Micro, Inc. (LMI) is supplying this software for use solely and
\r
11 // exclusively on LMI's microcontroller products.
\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
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
25 // This is part of revision 1408 of the Stellaris Peripheral Driver Library.
\r
27 //*****************************************************************************
\r
29 #ifndef __OSRAM128X64X4_H__
\r
30 #define __OSRAM128X64X4_H__
\r
32 //*****************************************************************************
\r
34 // Prototypes for the driver APIs.
\r
36 //*****************************************************************************
\r
37 extern void OSRAM128x64x4Clear(void);
\r
38 extern void OSRAM128x64x4StringDraw(const char *pcStr,
\r
41 unsigned char ucLevel);
\r
42 extern void OSRAM128x64x4ImageDraw(const unsigned char *pucImage,
\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
53 //*****************************************************************************
\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
58 //*****************************************************************************
\r
60 #define OSRAM128x64x1InitSSI OSRAM128x64x4Enable
\r
63 #endif // __OSRAM128X64X4_H__
\r