Allied Vision Technologies AVT Stingray Manual de instrucciones Pagina 156

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 309
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 155
Description of the data path
STINGRAY Technical Manual V2.2.0
155
To read data:
1. Query RDRD flag (buffer ready?) and write the number of bytes the host
wants to read to RBUF_CNT.
2. Read the number of bytes pending in the receive buffer RBUF_ST (more
data in the buffer than the host wanted to read?) and the number of
bytes left for reading from the receive FIFO in RBUF_CNT (host wanted
to read more data than were in the buffer?).
3. Read received characters from SIO_DATA_REGISTER, beginning at char 0.
4. To input more characters, repeat from step 1.
To write data:
1. Query TDRD flag (buffer ready?) and write the number of bytes to send
(copied from SIO register to transmit FIFO) to TBUF_CNT.
2. Read the available data space left in TBUF_ST (if the buffer can hold
more bytes than are to be transmitted) and number of bytes written to
transmit buffer in TBUF_CNT (if more data is to be transmitted than fits
in the buffer).
3. Write character to SIO_DATA_REGISTER, beginning at char 0.
4. To output more characters, repeat from step 1.
Note
L
Contact your local dealer if you require further informa-
tion or additional test programs or software.
AVT recommends the use of Hyperterminal™ or other
communication programs to test the functionality of
this feature. Alternatively use SmartView to try out this
feature.
Vista de pagina 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 308 309

Comentarios a estos manuales

Sin comentarios