The TGUS screen is internally designed with 256-byte register for controlling hardware operation. For example, backlight adjustment, clock reading, modification of buzzer beep time, etc.
Address | Definition | R/W | Byte Length | Description |
0x00 | Version | R | 1 | Firmware version number, Bin format, version number *10,0x10 indicates that the version number is V1.0 |
0x01 | LIG_INT | R/W | 1 | Back brightness control register,0x00-0x40. |
0x02 | BUZ_TIME | W | 1 | The control buzzer beep time register, Unit: 10ms. |
0x03 | PIC_ID | R/W | 2 | Write: Set the picture number that you currently need to display. Read: Get the currently displayed picture number |
0x05 | TP_Flag | R/W | 1 | 0xAA= Touch screen coordinates are updated: Other = Touch screen coordinates are not updated. The user must clear the mark after reading the data, otherwise the touch screen data will not be updated any more. |
0x06 | TP_Status | R | 1 | 0x01= First press 0x03= Press all the time 0x02= Lift other = Invalid |
0x07 | TP_Position | R | 4 | Screen press coordinates position: X_H:L Y_H:L |
0x0B | TPC_Enable | R/W | 1 | 0x00= Touch does not enable; Other = Touch enabled (on the default for 0xFF) |
0x0C-0x1E | RESERVE | R/W | 17 | Reserved |
0x1F | RTC_COM_ADJ | W | 1 | Write 0x5A means that the user will update the RTC data, it automatically clear zero after the update is completed. |
0x20 | RTC_NOW | R/W | 14 | Read: Get RTC YY:MM:DD:WW:HH:MM:SS year month day week hour minute second (BCD code) Write: Set clock YY:MM:DD:WW:HH:MM:SS (BCD code) |
0x27- 0xFF | RESERVE | R/W | 25 | Reserved |