SCAMP-5c Vision System  1.0.0
An image sensor with a parallel processor on focal plane
spi_macros.h
Go to the documentation of this file.
1 
177 
180 
232 spi_reset(void);
233 
234 
239 spi_begin(void);
240 
241 
246 spi_end(void);
247 
248 
261 
262 
292 reg spi_port(rint e);
293 
294 
300 
301 
307 spi_aout(areg r);
308 
309 
315 spi_aout64(areg r);
316 
317 
323 spi_dout(dreg r);
324 
325 
334 
335 
343 
344 
352 
353 
361 
362 
375 
spi_end(void)
deactivate the spi interface
spi_get_fifo_space(reg s)
get status index of the least number of space in fifo
operand of this type can be either an ipu register or a constant integer of range [0...
Definition: ipu_instructions.h:51
spi_aout(areg r)
send an AREG plane as a standard packet (packet size: 65552 bytes)
spi_scan_events(dreg r, r_int16 n)
scan and send the coordinates of n points in a DREG plane (packet size: 16 + 2*n bytes) ...
spi_send_loop_counter()
send the loop counter as a standard packet (packet size: 12 bytes)
spi_send_header(r_int16 w)
send a spi header, which containing the payload size. The size of the header itself is always 8 bytes...
operand of this type can only be a digital register
Definition: pe_digital_macros.h:39
operand of this type can only be an ipu register
Definition: ipu_instructions.h:44
reg spi_port(rint e)
get a value from the SPI input port
operand of this type can only be an analogue register
Definition: pe_analog_macros.h:55
spi_set_transfer_size(r_int16 w)
change the transfer size, which is the number of bytes in a single transfer burst ...
spi_reset(void)
reset/initialize the spi interface
spi_send_byte(r_int v)
send a value
spi_dout(dreg r)
send a DREG plane as a standard packet (packet size: 8208 bytes)
similar to r_int, but it can be assigned with a constant integer of range [0,65535] ...
Definition: ipu_instructions.h:58
spi_scan_target(dreg r)
scan and send the coordinates of the bounding box of '1's in a DREG plane (packet size: 16 bytes) ...
spi_begin(void)
activate the spi interface
spi_aout64(areg r)
send a 64x64 subsample of an AREG plane as a standard packet (packet size: 4120 bytes) ...