www.beck-ipc.com

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


Get_Receive_Mode

Get the current receive mode of the ethernet device

unsigned char Get_Receive_Mode( unsigned char *error );

Parameters

error

Pointer where error code should be stored

Return Value

0 on Success
-1 invalid mode

Comments

Possible Receive modes:
    RCV_BCAST        //accept own address and broadcasts
    RCV_BCAST_MCAST //accept broadcasts and installed multicasts
    RCV_ALL        //all incoming packets are accepted

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