1.Initialize MCU settings, including I/O, Timer, ISR and Serial Port settings.
2.Read EEPROM content to recover monitor settings, including brightness, contrast, color temperature and OSD position….etc.
3.Initialize system variable, including system flag, OSD timeout counter, burin mode status… etc.
4.Initialize OSD menu variable for user operation
5.Initialize device on the board, now only MST scaler chip will be initialized
6.Check if system is in power off status from first AC power up. If yes, then go to 7, else go to 8.
7.If yes, system will be forced to enter power off status
8.Mode detection
9.Check if input timing has been changed, if yes then go to 10, else go to 11
10.Setup MST scaler for display according input timing
11.OSD handler for OSD operation.
12.Debug handler, only debug only
14