17.4.6 Crop featureด้วย the crop feature, the camera interface สามารถเลือก a rectangular window จาก the received image. พิกัดเริ่มต้น (มุมซ้ายบน) และขนาด (มิติแนวนอนในจำนวนของ pixel clocks และขนาดแนวตั้งเป็นจำนวนของ lines) ถูกระบุโดยใช้ two 32-bit registers (DCMI_CWSTRT and DCMI_CWSIZE). The size of the window ถูกระบุในจำนวนของ pixel clocks (horizontal dimension) และในจำนวนของ lines (vertical dimension).

รีจีสเตอร์เหล่านี้ระบุพิกัดของ the starting point ของ the capture window เป็น a line number (ใน the frame, สตาร์ทจาก 0) และจำนวนของ pixel clocks (บน the line, สตาร์ทจาก 0), และขนาดของ the window เป็น a line number และ a number of pixel clocks. The CAPCNT value สามารถเป็นผลคูณของ 4 เท่านั้น (two least significant bits ถูกบังคับเป็น 0) เพื่ออนุญาตให้การส่งถ่ายที่ถูกต้องของ data ผ่านทาง the DMA.
ถ้า the DCMI_VSYNC signal ไปเป็น active ก่อน the number of lines ถูกระบุใน the DCMI_CWSIZE register, ดังนั้น the capture จะหยุดและ an IT_FRAME interrupt จะถูกสร้างเมื่อถูกเปิดใช้งาน.
