STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions | Variables
st7735.c File Reference

This file includes the driver for ST7735 LCD mounted on the Adafruit 1.8" TFT LCD shield (reference ID 802). More...

#include "st7735.h"

Go to the source code of this file.

Functions

void st7735_Init (void)
 Initialize the ST7735 LCD Component. More...
 
void st7735_DisplayOn (void)
 Enables the Display. More...
 
void st7735_DisplayOff (void)
 Disables the Display. More...
 
void st7735_SetCursor (uint16_t Xpos, uint16_t Ypos)
 Sets Cursor position. More...
 
void st7735_WritePixel (uint16_t Xpos, uint16_t Ypos, uint16_t RGBCode)
 Writes pixel. More...
 
void st7735_WriteReg (uint8_t LCDReg, uint8_t LCDRegValue)
 Writes to the selected LCD register. More...
 
void st7735_SetDisplayWindow (uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height)
 Sets a display window. More...
 
void st7735_DrawHLine (uint16_t RGBCode, uint16_t Xpos, uint16_t Ypos, uint16_t Length)
 Draws horizontal line. More...
 
void st7735_DrawVLine (uint16_t RGBCode, uint16_t Xpos, uint16_t Ypos, uint16_t Length)
 Draws vertical line. More...
 
uint16_t st7735_GetLcdPixelWidth (void)
 Gets the LCD pixel Width. More...
 
uint16_t st7735_GetLcdPixelHeight (void)
 Gets the LCD pixel Height. More...
 
void st7735_DrawBitmap (uint16_t Xpos, uint16_t Ypos, uint8_t *pbmp)
 Displays a bitmap picture loaded in the internal Flash. More...
 

Variables

LCD_DrvTypeDef st7735_drv
 

Detailed Description

This file includes the driver for ST7735 LCD mounted on the Adafruit 1.8" TFT LCD shield (reference ID 802).

Author
MCD Application Team
Version
V1.1.1
Date
24-November-2014
Attention

© COPYRIGHT(c) 2014 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file st7735.c.