![]() |
|
|||
File indexing completed on 2025-05-11 08:22:44
0001 /* ---------------------------------------------------------------------------- */ 0002 /* Atmel Microcontroller Software Support */ 0003 /* SAM Software Package License */ 0004 /* ---------------------------------------------------------------------------- */ 0005 /* Copyright (c) 2015, Atmel Corporation */ 0006 /* */ 0007 /* All rights reserved. */ 0008 /* */ 0009 /* Redistribution and use in source and binary forms, with or without */ 0010 /* modification, are permitted provided that the following condition is met: */ 0011 /* */ 0012 /* - Redistributions of source code must retain the above copyright notice, */ 0013 /* this list of conditions and the disclaimer below. */ 0014 /* */ 0015 /* Atmel's name may not be used to endorse or promote products derived from */ 0016 /* this software without specific prior written permission. */ 0017 /* */ 0018 /* DISCLAIMER: THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR */ 0019 /* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */ 0020 /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE */ 0021 /* DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, */ 0022 /* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */ 0023 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, */ 0024 /* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */ 0025 /* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING */ 0026 /* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, */ 0027 /* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ 0028 /* ---------------------------------------------------------------------------- */ 0029 0030 /** 0031 * \file 0032 * 0033 * Interface of ILI9488 driver. 0034 * 0035 */ 0036 0037 #ifndef _ILI9488_SPI_H_ 0038 #define _ILI9488_SPI_H_ 0039 0040 /*------------------------------------------------------------------------------ 0041 * Headers 0042 *----------------------------------------------------------------------------*/ 0043 0044 #include "board.h" 0045 0046 /*------------------------------------------------------------------------------ 0047 * Exported functions 0048 *----------------------------------------------------------------------------*/ 0049 extern uint32_t ILI9488_SpiReadChipId (void); 0050 extern uint32_t ILI9488_SpiInitialize(sXdmad *dmad); 0051 extern void ILI9488_SpiSetPixelFormat(uint8_t format); 0052 extern void ILI9488_SpiNop(void); 0053 extern void ILI9488_SpiWriteMemory(const uint8_t *pBuf, uint32_t size); 0054 extern void ILI9488_SpiReadMemory(const uint8_t *pBuf, uint32_t size); 0055 extern void ILI9488_SpiSetCursor(uint16_t x, uint16_t y); 0056 extern void ILI9488_SpiSetWindow( 0057 uint16_t dwX, 0058 uint16_t dwY, 0059 uint16_t dwWidth, 0060 uint16_t dwHeight); 0061 0062 extern void ILI9488_SpiSetFullWindow(void); 0063 extern void ILI9488_SpiOn(void); 0064 extern void ILI9488_SpiOff(void); 0065 extern void ILI9488_SpiSetDisplayLandscape( 0066 uint8_t dwRGB, uint8_t LandscaprMode); 0067 extern void ILI9488_SetPixelColor(uint32_t x, uint32_t y, uint32_t color); 0068 0069 #endif /* #ifndef ILI9488_SPI */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |