Functions | |
| cy_en_seglcd_status_t | Cy_SegLCD_ClrFrame (LCD_Type *base, uint32_t const *commons) |
| Clears the frame buffer and initiates the common lines. More... | |
| cy_en_seglcd_status_t | Cy_SegLCD_InvFrame (LCD_Type *base, uint32_t const *commons) |
| Inverts the frame buffer (all the connected pixel states are inverted). More... | |
| cy_en_seglcd_status_t | Cy_SegLCD_WritePixel (LCD_Type *base, uint32_t pixel, bool value) |
| Sets or clears a specified pixel. More... | |
| bool | Cy_SegLCD_ReadPixel (LCD_Type *base, uint32_t pixel) |
| Gets the state of a specified pixel. More... | |
| __STATIC_INLINE cy_en_seglcd_status_t | Cy_SegLCD_SetPixel (LCD_Type *base, uint32_t pixel) |
| Sets (turns on) the specified pixel. More... | |
| __STATIC_INLINE cy_en_seglcd_status_t | Cy_SegLCD_ClrPixel (LCD_Type *base, uint32_t pixel) |
| Clears (turns off) the specified pixel. More... | |
| __STATIC_INLINE cy_en_seglcd_status_t | Cy_SegLCD_InvPixel (LCD_Type *base, uint32_t pixel) |
| Inverts the state of the specified pixel. More... | |
| cy_en_seglcd_status_t Cy_SegLCD_ClrFrame | ( | LCD_Type * | base, |
| uint32_t const * | commons | ||
| ) |
Clears the frame buffer and initiates the common lines.
In general case it is recommended to be called after Cy_SegLCD_Init and before Cy_SegLCD_Enable.
| base | The base pointer to the LCD instance registers. |
| commons | The pointer to array of common lines. The array size is specified by cy_stc_seglcd_config_t::comNum. Each common line value should be made using CY_SEGLCD_COMMON macro. |
| cy_en_seglcd_status_t Cy_SegLCD_InvFrame | ( | LCD_Type * | base, |
| uint32_t const * | commons | ||
| ) |
Inverts the frame buffer (all the connected pixel states are inverted).
| base | The base pointer to the LCD instance registers. |
| commons | The pointer to an array of common lines. The array size is specified by cy_stc_seglcd_config_t::comNum. Each common line value should be made using CY_SEGLCD_COMMON macro. |
| cy_en_seglcd_status_t Cy_SegLCD_WritePixel | ( | LCD_Type * | base, |
| uint32_t | pixel, | ||
| bool | value | ||
| ) |
Sets or clears a specified pixel.
| base | The base pointer to the LCD instance registers. |
| pixel | The predefined packed number that points to the pixel location in the frame buffer. |
| value | Specifies the pixel on/off state. |
| bool Cy_SegLCD_ReadPixel | ( | LCD_Type * | base, |
| uint32_t | pixel | ||
| ) |
Gets the state of a specified pixel.
| base | The base pointer to the LCD instance registers. |
| pixel | The predefined packed number that points to the pixel location in the frame buffer. Each pixel value should be made using CY_SEGLCD_PIXEL macro. |
| __STATIC_INLINE cy_en_seglcd_status_t Cy_SegLCD_SetPixel | ( | LCD_Type * | base, |
| uint32_t | pixel | ||
| ) |
Sets (turns on) the specified pixel.
| base | The base pointer to the LCD instance registers. |
| pixel | The predefined packed number that points to the pixel location in the frame buffer. |
| __STATIC_INLINE cy_en_seglcd_status_t Cy_SegLCD_ClrPixel | ( | LCD_Type * | base, |
| uint32_t | pixel | ||
| ) |
Clears (turns off) the specified pixel.
| base | The base pointer to the LCD instance registers. |
| pixel | The predefined packed number that points to the pixel location in the frame buffer. |
| __STATIC_INLINE cy_en_seglcd_status_t Cy_SegLCD_InvPixel | ( | LCD_Type * | base, |
| uint32_t | pixel | ||
| ) |
Inverts the state of the specified pixel.
| base | The base pointer to the LCD instance registers. |
| pixel | The predefined packed number that points to the pixel location in the frame buffer. |