STM8L15x Standard Peripherals Drivers: Interrupts and flags management functions

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Interrupts and flags management functions

Interrupts and flags management functions. More...

Functions

void LCD_ClearFlag (void)
 Clears the start of frame LCD flag.
void LCD_ClearITPendingBit (void)
 Clears the start of frame interrupt pending bits.
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_ITConfig (FunctionalState NewState)
 Enables or disables the start of frame interrupt.

Detailed Description

Interrupts and flags management functions.

 ===============================================================================
                   Interrupts and flags management functions
 ===============================================================================  


Function Documentation

void LCD_ClearFlag ( void  )

Clears the start of frame LCD flag.

Parameters:
None
Return values:
None

Definition at line 563 of file stm8l15x_lcd.c.

References LCD, and LCD_CR3_SOFC.

void LCD_ClearITPendingBit ( void  )

Clears the start of frame interrupt pending bits.

Parameters:
None
Return values:
None

Definition at line 603 of file stm8l15x_lcd.c.

References LCD, and LCD_CR3_SOFC.

FlagStatus LCD_GetFlagStatus ( void  )

Checks whether the LCD start of new frame flag is set or not.

Return values:
Thenew state of the start of new frame flag. This returned value can be: SET or RESET.

Definition at line 540 of file stm8l15x_lcd.c.

References LCD, LCD_CR3_SOF, RESET, and SET.

ITStatus LCD_GetITStatus ( void  )

Checks whether the start of frame interrupt has occurred or not.

Parameters:
None
Return values:
Thenew state of the start of new frame interrupt. This returned value can be: SET or RESET.

Definition at line 576 of file stm8l15x_lcd.c.

References LCD, LCD_CR3_SOF, LCD_CR3_SOFIE, RESET, and SET.

void LCD_ITConfig ( FunctionalState  NewState)

Enables or disables the start of frame interrupt.

Parameters:
NewState,:new state of the specified LCD interrupts. This parameter can be: ENABLE or DISABLE.
Return values:
None

Definition at line 519 of file stm8l15x_lcd.c.

References DISABLE, IS_FUNCTIONAL_STATE, LCD, and LCD_CR3_SOFIE.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com