@CHIP-RTOS C Library V2.00 - 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.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|