SCAMP-5c Vision System  1.0.0
An image sensor with a parallel processor on focal plane
pe_analog_macros.h
Go to the documentation of this file.
1 
55 class areg{
56 };
57 
58 
59 //------------------------------------------------------------------------------
60 
61 
68 pe_rpix();
69 
70 
90 pe_rpix(areg a1,areg a2);
91 
92 
107 areg pe_mov(areg a1);
108 
109 
110 
131 areg pe_add(areg a1,areg a2);
132 
133 
134 
155 areg pe_sub(areg a1,areg a2);
156 
157 
158 
176 areg pe_neg(areg a1);
177 
178 
179 
197 areg pe_abs(areg a1);
198 
199 
200 
220 pe_div(areg a1,areg a2,areg a3);
221 
222 
223 
249 areg pe_in(r_int v);
250 
251 
252 
268 areg pe_north(areg a1);
269 
270 
271 
280 areg pe_east(areg a1);
281 
282 
283 
292 areg pe_west(areg a1);
293 
294 
295 
304 areg pe_south(areg a1);
305 
areg pe_neg(areg a1)
invert the polarity of AREG and copy to another AREG
areg pe_mov(areg a1)
make a copy of an AREG
operand of this type can be either an ipu register or a constant integer of range [0...
Definition: ipu_instructions.h:51
areg pe_west(areg a1)
copy the AREG of the west neighbouring PE
pe_div(areg a1, areg a2, areg a3)
divide (by half) an AREG into two AREGs
areg pe_south(areg a1)
copy the AREG of the south neighbouring PE
areg pe_east(areg a1)
copy the AREG of the east neighbouring PE
areg pe_north(areg a1)
copy the AREG of the north neighbouring PE
areg pe_sub(areg a1, areg a2)
subtract two AREGs
areg pe_add(areg a1, areg a2)
add two AREGs
operand of this type can only be an analogue register
Definition: pe_analog_macros.h:55
areg pe_abs(areg a1)
take the absolute value of an AREG and copy to another AREG
areg pe_in(r_int v)
set an analogue register for all pe with a value
pe_rpix()
reset PIX (the photodiode)