STM32L0538-Discovery BSP User Manual
|
This file contains all the functions prototypes for the stm32l0538_discovery_epd.c driver. More...
Go to the source code of this file.
Defines | |
#define | EPD_COLOR_BLACK 0x00 |
EPD color. | |
#define | EPD_COLOR_DARKGRAY 0x55 |
#define | EPD_COLOR_LIGHTGRAY 0xAA |
#define | EPD_COLOR_WHITE 0xFF |
#define | EPD_DEFAULT_FONT Font12 |
EPD default font. | |
Enumerations | |
enum | EPD_StatusTypeDef { EPD_OK = 0, EPD_ERROR = 1, EPD_TIMEOUT = 2 } |
enum | Text_AlignModeTypdef { CENTER_MODE = 0x01, RIGHT_MODE = 0x02, LEFT_MODE = 0x03 } |
Line mode structures definition. More... | |
Functions | |
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_DisplayStringAtLine (uint16_t Line, uint8_t *ptr) |
Displays a character on the EPD. | |
void | BSP_EPD_DisplayStringAt (uint16_t Xpos, uint16_t Ypos, uint8_t *pText, Text_AlignModeTypdef mode) |
Displays characters on the EPD. | |
void | BSP_EPD_DisplayChar (uint16_t Xpos, uint16_t Ypos, uint8_t Ascii) |
Displays one character. | |
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_RefreshDisplay (void) |
Updates the display from the data located into the RAM. | |
void | BSP_EPD_CloseChargePump (void) |
Disables the clock and the charge pump. | |
void | BSP_EPD_DrawImage (uint16_t Xpos, uint16_t Ypos, uint16_t Xsize, uint16_t Ysize, uint8_t *pdata) |
Draws an Image. |
Detailed Description
This file contains all the functions prototypes for the stm32l0538_discovery_epd.c driver.
- 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.h.
Generated on Mon Aug 28 2017 14:51:54 for STM32L0538-Discovery BSP User Manual by
