uint16 W5500_GetTxLength() Description: Request a block of data from the transmit buffer for a socket, and optionally wait for the room to be available. Parameters: uint8 Socket The open socket buffer to access – uint16 Length The length of data requested from the buffer – uint8 flags configuration of the function operation. – Return Value: uint16 The number of bytes allocated for the transmit function. – Side Effects: None cystatus W5500_WriteTxData() Description: a block of data into the specified socket transmit buffer memory. Parameters: uint8 Socket The socket on which data will be placed in the transmit buffer – uint8* Buffer Pointer to the block of data to transmit. – uint16 Length Length of the data to send. – uint8 flags Flags to control the operation of the function. – Return Value: cystatus function status – Side Effects: Interrupt register is cleared after execution. uint16 W5500_RxDataReady() Description: Read the number of bytes received and waiting in the socket receive buffer. Parameters: uint8 Socket Socket to check received data length. – Return Value: uint16 The number of bytes in the Rx buffer memory for the socket. – Side Effects: None uint16 W5500_TxBufferFree() Description: Read the number of bytes available in the socket transmit buffer. Parameters: uint8 Socket Socket to check the remaining length of Tx buffer. – Return Value: uint16 The number of bytes remaining in the Tx buffer memory for the – socket. Side Effects: None cystatus W5500_SocketClose() Description: Close an open socket, optionally sending a disconnect packet. Parameters: Socket Socket to close/disconnect – uint8 Discon Set to non-zero value to send a disconnect packet before – closing the socket.
uint16 W5500_GetTxLength() Description: Request a block of data from the transmit buffer for a socket, and optionally wait for the room to be available. Parameters: uint8 Socket – The open socket buffer to access uint16 Length – The length of data requested from the buffer uint8 flags – configuration of the function operation. Return Value: uint16 – The number of bytes allocated for the transmit function. Side Effects: None cystatus W5500_WriteTxData() Description: a block of data into the specified socket transmit buffer memory. Parameters: uint8 Socket – The socket on which data will be placed in the transmit buffer uint8* Buffer – Pointer to the block of data to transmit. uint16 Length – Length of the data to send. uint8 flags – Flags to control the operation of the function. Return Value: cystatus – function status Side Effects: Interrupt register is cleared after execution. uint16 W5500_RxDataReady() Description: Read the number of bytes received and waiting in the socket receive buffer. Parameters: uint8 Socket – Socket to check received data length. Return Value: uint16 – The number of bytes in the Rx buffer memory for the socket. Side Effects: None uint16 W5500_TxBufferFree() Description: Read the number of bytes available in the socket transmit buffer. Parameters: uint8 Socket – Socket to check the remaining length of Tx buffer. Return Value: uint16 – The number of bytes remaining in the Tx buffer memory for the socket. Side Effects: None cystatus W5500_SocketClose() Description: Close an open socket, optionally sending a disconnect packet. Parameters: Socket – Socket to close/disconnect uint8 Discon – Set to non-zero value to send a disconnect packet before closing the socket.
cfile26.uf@247E303C569BB6420A9900.docx