STM8L15x Standard Peripherals Drivers
|
stm8l15x_lcd.c File Reference
This file provides firmware functions to manage the following functionalities of the LCD controller (LCD) peripheral:
- Initialization and configuration
- LCD RAM memory write
- Interrupts and flags management.
#include "stm8l15x_lcd.h"
Go to the source code of this file.
Functions | |
void | LCD_BlinkConfig (LCD_BlinkMode_TypeDef LCD_BlinkMode, LCD_BlinkFrequency_TypeDef LCD_BlinkFrequency) |
Configures the LCD Blink mode and Blink frequency. | |
void | LCD_ClearFlag (void) |
Clears the start of frame LCD flag. | |
void | LCD_ClearITPendingBit (void) |
Clears the start of frame interrupt pending bits. | |
void | LCD_Cmd (FunctionalState NewState) |
Enables or disables the LCD Controller. | |
void | LCD_ContrastConfig (LCD_Contrast_TypeDef LCD_Contrast) |
Configures the LCD Contrast. | |
void | LCD_DeadTimeConfig (LCD_DeadTime_TypeDef LCD_DeadTime) |
Configures the LCD dead time. | |
void | LCD_DeInit (void) |
Deinitializes the LCD Controller registers to their default reset values. | |
FlagStatus | LCD_GetFlagStatus (void) |
Checks whether the LCD start of new frame flag is set or not. | |
ITStatus | LCD_GetITStatus (void) |
Checks whether the start of frame interrupt has occurred or not. | |
void | LCD_HighDriveCmd (FunctionalState NewState) |
Enables or disables the low resistance divider. | |
void | LCD_Init (LCD_Prescaler_TypeDef LCD_Prescaler, LCD_Divider_TypeDef LCD_Divider, LCD_Duty_TypeDef LCD_Duty, LCD_Bias_TypeDef LCD_Bias, LCD_VoltageSource_TypeDef LCD_VoltageSource) |
Initializes the LCD according to the specified parameters. | |
void | LCD_ITConfig (FunctionalState NewState) |
Enables or disables the start of frame interrupt. | |
void | LCD_PageSelect (LCD_PageSelection_TypeDef LCD_PageSelection) |
Select the LCD page where the data will be written. | |
void | LCD_PortMaskConfig (LCD_PortMaskRegister_TypeDef LCD_PortMaskRegister, uint8_t LCD_Mask) |
Configures the LCD Port Mask. | |
void | LCD_PulseOnDurationConfig (LCD_PulseOnDuration_TypeDef LCD_PulseOnDuration) |
Configures the LCD pulses on duration. | |
void | LCD_WriteRAM (LCD_RAMRegister_TypeDef LCD_RAMRegister, uint8_t LCD_Data) |
Writes a word in the specific LCD RAM. |
Detailed Description
This file provides firmware functions to manage the following functionalities of the LCD controller (LCD) peripheral:
- Initialization and configuration
- LCD RAM memory write
- Interrupts and flags management.
- Attention:
THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
© COPYRIGHT 2011 STMicroelectronics
Definition in file stm8l15x_lcd.c.