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