STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions
ST7735_Private_Functions

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...
 

Detailed Description

Function Documentation

void st7735_DisplayOff ( void  )

Disables the Display.

Parameters
None
Return values
None

Definition at line 255 of file st7735.c.

void st7735_DisplayOn ( void  )

Enables the Display.

Parameters
None
Return values
None

Definition at line 238 of file st7735.c.

void st7735_DrawBitmap ( uint16_t  Xpos,
uint16_t  Ypos,
uint8_t *  pbmp 
)

Displays a bitmap picture loaded in the internal Flash.

Parameters
BmpAddressBmp picture address in the internal Flash.
Return values
None

Definition at line 427 of file st7735.c.

void st7735_DrawHLine ( uint16_t  RGBCode,
uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Length 
)

Draws horizontal line.

Parameters
RGBCodeSpecifies the RGB color
Xposspecifies the X position.
Yposspecifies the Y position.
Lengthspecifies the line length.
Return values
None

Definition at line 367 of file st7735.c.

void st7735_DrawVLine ( uint16_t  RGBCode,
uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Length 
)

Draws vertical line.

Parameters
RGBCodeSpecifies the RGB color
Xposspecifies the X position.
Yposspecifies the Y position.
Lengthspecifies the line length.
Return values
None

Definition at line 391 of file st7735.c.

uint16_t st7735_GetLcdPixelHeight ( void  )

Gets the LCD pixel Height.

Parameters
None
Return values
TheLcd Pixel Height

Definition at line 417 of file st7735.c.

uint16_t st7735_GetLcdPixelWidth ( void  )

Gets the LCD pixel Width.

Parameters
None
Return values
TheLcd Pixel Width

Definition at line 407 of file st7735.c.

void st7735_Init ( void  )

Initialize the ST7735 LCD Component.

Parameters
None
Return values
None

Definition at line 125 of file st7735.c.

void st7735_SetCursor ( uint16_t  Xpos,
uint16_t  Ypos 
)

Sets Cursor position.

Parameters
Xposspecifies the X position.
Yposspecifies the Y position.
Return values
None

Definition at line 273 of file st7735.c.

void st7735_SetDisplayWindow ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  Width,
uint16_t  Height 
)

Sets a display window.

Parameters
Xposspecifies the X bottom left position.
Yposspecifies the Y bottom left position.
Heightdisplay window height.
Widthdisplay window width.
Return values
None

Definition at line 334 of file st7735.c.

void st7735_WritePixel ( uint16_t  Xpos,
uint16_t  Ypos,
uint16_t  RGBCode 
)

Writes pixel.

Parameters
Xposspecifies the X position.
Yposspecifies the Y position.
RGBCodethe RGB pixel color
Return values
None

Definition at line 296 of file st7735.c.

void st7735_WriteReg ( uint8_t  LCDReg,
uint8_t  LCDRegValue 
)

Writes to the selected LCD register.

Parameters
LCDRegAddress of the selected register.
LCDRegValuevalue to write to the selected register.
Return values
None

Definition at line 320 of file st7735.c.