STM32L0538-Discovery BSP User Manual
|
This file includes the EPD driver for Display Module of STM32L0538-DISCO kit (MB1143). More...
#include "stm32l0xx_hal.h"
#include "stm32l0538_discovery_epd.h"
#include "stm32l0538_discovery.h"
#include "font20epd.c"
#include "font16epd.c"
#include "font12epd.c"
#include "font8epd.c"
Go to the source code of this file.
Functions | |
static void | DrawChar (uint16_t Xpos, uint16_t Ypos, const uint8_t *c) |
Draws a character on EPD. | |
uint8_t | BSP_EPD_Init (void) |
Initializes the EPD. | |
uint32_t | BSP_EPD_GetXSize (void) |
Gets the EPD X size. | |
uint32_t | BSP_EPD_GetYSize (void) |
Gets the EPD Y size. | |
void | BSP_EPD_SetFont (sFONT *pFonts) |
Sets the Text Font. | |
sFONT * | BSP_EPD_GetFont (void) |
Gets the Text Font. | |
void | BSP_EPD_Clear (uint16_t Color) |
Clears the hole EPD. | |
void | BSP_EPD_DisplayChar (uint16_t Xpos, uint16_t Ypos, uint8_t Ascii) |
Displays one character. | |
void | BSP_EPD_DisplayStringAt (uint16_t Xpos, uint16_t Ypos, uint8_t *Text, Text_AlignModeTypdef Mode) |
Displays characters on the EPD. | |
void | BSP_EPD_DisplayStringAtLine (uint16_t Line, uint8_t *ptr) |
Displays a character on the EPD. | |
void | BSP_EPD_DrawHLine (uint16_t Xpos, uint16_t Ypos, uint16_t Length) |
Draws an horizontal line. | |
void | BSP_EPD_DrawVLine (uint16_t Xpos, uint16_t Ypos, uint16_t Length) |
Draws a vertical line. | |
void | BSP_EPD_DrawRect (uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height) |
Draws a rectangle. | |
void | BSP_EPD_FillRect (uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height) |
Displays a full rectangle. | |
void | BSP_EPD_DrawImage (uint16_t Xpos, uint16_t Ypos, uint16_t Xsize, uint16_t Ysize, uint8_t *pdata) |
Draws an Image. | |
void | BSP_EPD_CloseChargePump (void) |
Disables the clock and the charge pump. | |
void | BSP_EPD_RefreshDisplay (void) |
Updates the display from the data located into the RAM. | |
Variables | |
static sFONT * | pFont |
static EPD_DrvTypeDef * | epd_drv |
Detailed Description
This file includes the EPD driver for Display Module of STM32L0538-DISCO kit (MB1143).
- Attention:
© COPYRIGHT(c) 2016 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 stm32l0538_discovery_epd.c.
Generated on Mon Aug 28 2017 14:51:54 for STM32L0538-Discovery BSP User Manual by
