www.beck-ipc.com

@CHIP-RTOS C Library V2.06 - 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.

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3
    V1.00V1.00n/aV0.90

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


End of document