Functions | |
| cy_en_seglcd_status_t | Cy_SegLCD_Init (LCD_Type *base, cy_stc_seglcd_config_t const *config) |
| Initializes/restores the default Segment LCD block configuration. More... | |
| cy_en_seglcd_status_t | Cy_SegLCD_Contrast (LCD_Type *base, uint32_t contrast, cy_stc_seglcd_config_t *config) |
| Sets a specified contrast. More... | |
| void | Cy_SegLCD_Deinit (LCD_Type *base) |
| De-initializes the LCD block (resets the block registers to default state). More... | |
| void | Cy_SegLCD_Enable (LCD_Type *base) |
| Enables the Segment LCD block. More... | |
| void | Cy_SegLCD_Disable (LCD_Type *base) |
| Disables the Segment LCD block. More... | |
| cy_en_seglcd_status_t Cy_SegLCD_Init | ( | LCD_Type * | base, |
| cy_stc_seglcd_config_t const * | config | ||
| ) |
Initializes/restores the default Segment LCD block configuration.
| base | The base pointer to the LCD instance registers. |
| config | The pointer to a configuration structure. |
Side Effects: The block is disabled to change the settings.
| cy_en_seglcd_status_t Cy_SegLCD_Contrast | ( | LCD_Type * | base, |
| uint32_t | contrast, | ||
| cy_stc_seglcd_config_t * | config | ||
| ) |
Sets a specified contrast.
| base | The base pointer to the LCD instance registers. |
| contrast | The contrast value to be set. |
| config | The pointer to a configuration structure. |
Side Effects: The configuration structure contrast value is also updated.
| void Cy_SegLCD_Deinit | ( | LCD_Type * | base | ) |
De-initializes the LCD block (resets the block registers to default state).
| base | The base pointer to the LCD instance registers. |
| void Cy_SegLCD_Enable | ( | LCD_Type * | base | ) |
Enables the Segment LCD block.
| base | The base pointer to the LCD instance registers. |
| void Cy_SegLCD_Disable | ( | LCD_Type * | base | ) |
Disables the Segment LCD block.
| base | The base pointer to the LCD instance registers. |