]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/Common/drivers/LuminaryMicro/rit128x96x4.h
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS / Demo / Common / drivers / LuminaryMicro / rit128x96x4.h
1 //*****************************************************************************\r
2 //\r
3 // rit128x96x4.h - Prototypes for the driver for the RITEK 128x96x4 graphical\r
4 //                   OLED display.\r
5 //\r
6 // Copyright (c) 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 1582 of the Stellaris Peripheral Driver Library.\r
26 //\r
27 //*****************************************************************************\r
28 \r
29 #ifndef __RIT128X96X4_H__\r
30 #define __RIT128X96X4_H__\r
31 \r
32 //*****************************************************************************\r
33 //\r
34 // Prototypes for the driver APIs.\r
35 //\r
36 //*****************************************************************************\r
37 extern void RIT128x96x4Clear(void);\r
38 extern void RIT128x96x4StringDraw(const char *pcStr,\r
39                                     unsigned long ulX,\r
40                                     unsigned long ulY,\r
41                                     unsigned char ucLevel);\r
42 extern void RIT128x96x4ImageDraw(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 RIT128x96x4Init(unsigned long ulFrequency);\r
48 extern void RIT128x96x4Enable(unsigned long ulFrequency);\r
49 extern void RIT128x96x4Disable(void);\r
50 extern void RIT128x96x4DisplayOn(void);\r
51 extern void RIT128x96x4DisplayOff(void);\r
52 \r
53 #endif // __RIT128X96X4_H__\r