Advantech ADAM-5511 Manual page 273

Table of Contents

Advertisement

Disable Port FIFO (FIFO Size=1, for Tx and Rx)
Enable Port FIFO (FIFO Size=128, for Tx and Rx)
Set specified port to disable FIFO
Set specified port to enable FIFO
void port_disable_fifo(int portno)
int port_enable_fifo(int portno)
portno
Disable FIFO
Enable FIFO
void main ()
{
port_install(1);
:
:
port_set_format(1, 8, 0, 1)
//enable port1 FIFO to 128 byte
port_enable_fifo(1);
}
The specified port number
: None
: 0x00
0x01
0x04
FIFO enable success
FIFO not available
portno error

Advertisement

Table of Contents
loading

Table of Contents