| 1 |
610 |
jeremybenn |
//*****************************************************************************
|
| 2 |
|
|
//
|
| 3 |
|
|
// rit128x96x4.h - Prototypes for the driver for the RITEK 128x96x4 graphical
|
| 4 |
|
|
// OLED display.
|
| 5 |
|
|
//
|
| 6 |
|
|
// Copyright (c) 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 1582 of the Stellaris Peripheral Driver Library.
|
| 26 |
|
|
//
|
| 27 |
|
|
//*****************************************************************************
|
| 28 |
|
|
|
| 29 |
|
|
#ifndef __RIT128X96X4_H__
|
| 30 |
|
|
#define __RIT128X96X4_H__
|
| 31 |
|
|
|
| 32 |
|
|
//*****************************************************************************
|
| 33 |
|
|
//
|
| 34 |
|
|
// Prototypes for the driver APIs.
|
| 35 |
|
|
//
|
| 36 |
|
|
//*****************************************************************************
|
| 37 |
|
|
extern void RIT128x96x4Clear(void);
|
| 38 |
|
|
extern void RIT128x96x4StringDraw(const char *pcStr,
|
| 39 |
|
|
unsigned long ulX,
|
| 40 |
|
|
unsigned long ulY,
|
| 41 |
|
|
unsigned char ucLevel);
|
| 42 |
|
|
extern void RIT128x96x4ImageDraw(const unsigned char *pucImage,
|
| 43 |
|
|
unsigned long ulX,
|
| 44 |
|
|
unsigned long ulY,
|
| 45 |
|
|
unsigned long ulWidth,
|
| 46 |
|
|
unsigned long ulHeight);
|
| 47 |
|
|
extern void RIT128x96x4Init(unsigned long ulFrequency);
|
| 48 |
|
|
extern void RIT128x96x4Enable(unsigned long ulFrequency);
|
| 49 |
|
|
extern void RIT128x96x4Disable(void);
|
| 50 |
|
|
extern void RIT128x96x4DisplayOn(void);
|
| 51 |
|
|
extern void RIT128x96x4DisplayOff(void);
|
| 52 |
|
|
|
| 53 |
|
|
#endif // __RIT128X96X4_H__
|