Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example

Private properties of the LC display task. More...

+ Collaboration diagram for Private Properties:
volatile uint16_t lcd_cnt = 0
 Local counter used to trigger LCD refresh event. More...
 
#define LCD_STARTUP   30000
 Startup screen delay compare value. More...
 
#define LCD_REFRESH   2000
 Screen refresh delay compare value. More...
 
#define LCD_NO_OF_SCREENS   3
 Number of screens which can be selected. More...
 

Detailed Description

Private properties of the LC display task.

This is the detailed description of public variables, data types, enumerations, defines and macros of the LC display task.

Macro Definition Documentation

◆ LCD_NO_OF_SCREENS

#define LCD_NO_OF_SCREENS   3

Number of screens which can be selected.

This application supports multiple different screens which can be selected by the user to display different runtime data fields.

Definition at line 72 of file app_lcd.c.

◆ LCD_REFRESH

#define LCD_REFRESH   2000

Screen refresh delay compare value.

Value of 30000 equals a period of 200 milliseconds.

Period counter compare value determining the LCD refresh rate

Definition at line 59 of file app_lcd.c.

◆ LCD_STARTUP

#define LCD_STARTUP   30000

Startup screen delay compare value.

Value of 30000 equals a period of 3 seconds.

Period counter compare value determining how long the startup screen will be shown

Definition at line 47 of file app_lcd.c.

Variable Documentation

◆ lcd_cnt

lcd_cnt = 0

Local counter used to trigger LCD refresh event.

LCD driver time-base counter.

The LCD driver screen update is performed with a fixed frequency generated by counting task scheduler ticks. The time-base counter 'lcd_cnt' is incremented with every task scheduler call of function appLCD_Execute(). If the time-base counter value matches or exceeds the constant user value defined by LCD_STARTUP, the startup screen will be switched to the first default LCD screen and regular screen updates will be performed. If the time-base counter value matches or exceeds the constant user value defined by LCD_STARTUP, the screen update will be performed.

Definition at line 35 of file app_lcd.c.