Справочник Пользователя для Epson S1D13708

Скачать
Страница из 574
Epson Research and Development
Page 39
Vancouver Design Center
Programming Notes and Examples
S1D13708
Issue Date: 01/11/20 
X39A-G-003-01
ADVANCE
D
 IN
FOR
MAT
ION
Subje
ct to C
ha
nge
PIP
+
 Window Enable
The PIP
+
 Window Enable bit enables a PIP
+
 window within the main window. The loca-
tion of the PIP
+
 window within the landscape window is determined by the PIP
+
 X Posi-
tion registers (REG[84h],REG[85h],REG[8Ch],REG[8Dh]) and PIP
+
 Y Position registers 
(REG[88h],REG[89h],REG[90h],REG[91h]). The PIP
+
 window has its own Display Start 
Address registers (REG[7Eh],REG[7Dh],REG[7Ch]) and Line Address Offset registers 
(REG[81h],REG[80h]). The PIP
+
 window shares the same color depth and SwivelView
TM
 
orientation as the main window.
PIP
+
 Display Start Address
The PIP
+
 Display Start Address register is a DWORD which represents an address that 
points to the start of the PIP
+
 window image in the display buffer. An address of 0 is the 
start of the display buffer. For the following PIP
+
 descriptions, the desired byte address is 
the starting display address for the PIP
+
 window image.
In SwivelView 0°, program the start address
= desired byte address 
÷
 4
In SwivelView 90°, program the start address
= ((desired byte address + (PIP
width 
×
 bpp 
÷
 8)
+ ((4 - (PIP
+
 width 
×
 bpp 
÷
 8)) & 03h)) 
÷
 4) - 1
In SwivelView 180°, program the start address
= ((desired byte address + (PIP
+
 Stride 
× (
PIP
+
 height 
 − 1))
+ (
PIP
width
 ×
 bpp 
÷
 8) + ((4 - (PIP
width 
×
 bpp 
÷
 8)) & 03h)) 
÷
 4) - 1
In SwivelView 270°, program the start address
= (desired byte address + ((PIP
height - 1) 
×
 PIP
+
 Stride)) 
÷
 4
PIP
+
 Window Display Start Address Register 0
REG[7C]
Read/Write
PIP
+
 Window Display Start Address Bits 7-0
7
6
5
4
3
2
1
0
PIP
+
 Window Display Start Address Register 1
REG[7Dh]
Read/Write
PIP
+
 Window Display Start Address Bits 15-8
7
6
5
4
3
2
1
0
PIP
+
 Window Display Start Address Register 2
REG[7Eh]
Read/Write
n/a
PIP
+
 Window 
Display Start 
Address 
Bit 16
7
6
5
4
3
2
1
0