18.7.15 LTDC layer x window horizontal position configuration register
(LTDC_LxWHPCR)รีจีสเตอร์นี้กำหนด the horizontal position (first and last pixel) ของ the layer 1 or 2 window.
The first visible pixel of a line คือค่าที่โปรแกรมของ AHBP[11:0] bits + 1 ใน the LTDC_BPCR register.
The last visible pixel of a line คือค่าที่โปรแกรมของ AAW[10:0] bits ใน the LTDC_AWCR register.
Address offset: 0x88 + 0x80 * (x - 1), (x = 1 to 2)
Reset value: 0x0000 0000

Bits 31:28 Reserved, must be kept at reset value.
Bits 27:16
WHSPPOS[11:0]: window horizontal stop position
บิตเหล่านี้กำหนดค่า the last visible pixel of a line of the layer window.
WHSPPOS[11:0] ต้อง ≥
AHBP[11:0] bits + 1 (ที่โปรแกรมใน LTDC_BPCR register).
Bits 15:12 Reserved, must be kept at reset value.
Bits 11:0
WHSTPOS[11:0]: window horizontal start position
บิตเหล่านี้กำหนดค่า the first visible pixel of a line of the layer window.
WHSTPOS[11:0] ต้อง ≤
AAW[11:0] bits (ที่โปรแกรมใน LTDC_AWCR register).
Example:The LTDC_BPCR register ถูกกำหนดค่าเป็น 0x000E0005 (AHBP[11:0] คือ 0xE) และ the LTDC_AWCR register ถูกกำหนดค่าเป็น 0x028E01E5 (AAW[11:0] คือ 0x28E). เพื่อกำหนดค่า the horizontal position of a window size of 630x460, ด้วย horizontal start offset of 5 pixels ใน the active data area:
1. layer window first pixel, WHSTPOS[11:0], ต้องถูกโปรแกรมเป็น 0x14 (0xE+1+0x5)
2. layer window last pixel, WHSPPOS[11:0], ต้องถูกโปรแกรมเป็น 0x28A.