Instruction manual
Description of the data path 
MARLIN Technical Manua
l
Page 49
The table below describes the registers required. 
Offset  Name  Field  Bit  Description 
0xF1000250 SHDG_CTRL  Presence_Inq  [0]  Indicates 
presence of this 
feature (read 
only) 
  BuildError [1] tbd 
  ---  [2..3]  
  ShowImage [4] Show shading 
data as image 
    BuildImage  [5]  Build a new 
ShadingImage 
  ON_OFF [6] Shading On/Off 
    Busy  [7]  Build in progress 
  ---  [8..23]  
  GrabCount [24..31] Number of 
images 
0xF1000254 SHDG_MEM_CTRL  Presence_Inq  [0]  Indicates 
presence of this 
feature (read 
only) 
  ---  [1..4]  
  EnableMemWR [5] Enable write 
access 
  EnableMemRD [6] Enable read 
access 
  ---  [7]  
  AddrOffset [8..31]  
0xF1000258 SHDG_INFO  Presence_Inq  [0]  Indicates 
presence of this 
feature (read 
only) 
  ---  [1..7]  
  MaxImageSize [8..31] Max shading 
Image size 
Table 27: Shading control register
 
The maximum value of GRAB_COUNT depends on the type of camera and the number of 
existing frame buffers. GRAB_COUNT is also automatically corrected to the power of two.
  The SHDG_CTRL register should not be queried at very short intervals, because each query 
delays the generation of the shading image. A good interval time is 500 ms. 










