www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - Packet Driver API


Set_Receive_Mode

Set receive mode of the ethernet device

unsigned char Set_Receive_Mode( unsigned int mode, unsigned char *error );

Parameters

mode

receive mode

error

Pointer where error code should be stored

Return Value

0 on Success
-1 invalid mode

Comments

Settable modes:
    RCV_BCAST //accept packets with own mac address or broadcast
    RCV_ALL    //accept all incoming packets

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document