SCAMP-5c Vision System  1.0.0
An image sensor with a parallel processor on focal plane
ipu_instructions.h
Go to the documentation of this file.
1 
44 class reg{
45 };
46 
47 
51 class r_int{
52 };
53 
54 
58 class r_int16{
59 };
60 
61 
65 class port{
66 };
67 
68 
69 
70 
87 _mov(reg d, r_int s);
88 
89 
103 _or(reg d, r_int s);
104 
105 
119 _and(reg d, r_int s);
120 
121 
122 
136 _add(reg d, r_int s);
137 
138 
151 _sub(reg d, r_int s);
152 
153 
171 _jump(label l);
172 
173 
201 _jump(condition f,label l);
202 
203 
204 
221 
222 
223 
241 
242 
243 
262 ipu_pixel_set(dreg b1,r_int x,r_int y);
263 
264 
265 
292 
293 
294 
351 
352 
353 
_mov(reg d, r_int s)
move data in to a register
_jump(label l)
jump the program to a labeled position
operand of this type can be either an ipu register or a constant integer of range [0...
Definition: ipu_instructions.h:51
ipu_pixel_set(dreg b1, r_int x, r_int y)
set one pixel in a DREG plane
ipu_wait_frame_trigger()
wait until a frame trigger is detected
ipu_pixel_filter(dreg b1, r_int x, r_int y, r_int mx, r_int my)
similar to ipu_pixel_select, but the result will be ANDed with the DREG
ipu_delay_50us_x(r_int t)
time delay with a resolution of 50 us
_sub(reg d, r_int s)
subtract two data ( d = d - s )
_add(reg d, r_int s)
add two data ( d = d + s )
operand of this type can only be a port address
Definition: ipu_instructions.h:65
operand of this type can only be a digital register
Definition: pe_digital_macros.h:39
reg ipu_global_sum(areg a, r_int k)
sum all pixels in a AREG plane, then sample
operand of this type can only be an ipu register
Definition: ipu_instructions.h:44
_and(reg d, r_int s)
bitwise AND operation
operand of this type can only be an analogue register
Definition: pe_analog_macros.h:55
dreg ipu_pixel_select(r_int x, r_int y, r_int mx, r_int my)
set all pixel a DREG plane of which their coordinates match the rules
_or(reg d, r_int s)
bitwise OR operation
similar to r_int, but it can be assigned with a constant integer of range [0,65535] ...
Definition: ipu_instructions.h:58