01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Get the <strong>IPC<strong>@CHIP</strong></strong> Ethernet address.<br />

Parameters<br />

AH<br />

ES:DI<br />

0x06<br />

Pointer to user buffer (6 bytes), for storing the Ethernet address<br />

Return Value<br />

Top of list<br />

Index page<br />

Carry flag:0, AX:0, DX:0: success<br />

Location at [ES:DI] contains the six bytes of the Ethernet address.<br />

Interrupt 0xAE service 0x14: SET_RCV_MODE, Set receive mode<br />

Parameters<br />

AH<br />

CX<br />

Set receive mode of <strong>IPC<strong>@CHIP</strong></strong> Ethernet device.<br />

0x14<br />

Receive mode<br />

3: Receiving packets with own Ethernet address or broadcast address<br />

6: Promiscuous mode (receive all)<br />

Return Value<br />

Comments<br />

Carry flag:0, AX:0, DX:0: success<br />

Carry flag:1, AX:-1;DX:-1 Bad parameter in CX<br />

Default receive mode is 3.<br />

Receive mode 6 should only be used in the <strong>IPC<strong>@CHIP</strong></strong> Tiny version (@Chip-<strong>RTOS</strong> without the TCP/IP stack).<br />

Calling SET_MULTICAST overrides the current mode with mode 5.<br />

API call Get receive mode returns the current mode.<br />

Related Topics<br />

Top of list<br />

Index page<br />

GET_RCV_MODE Get receive mode<br />

Interrupt 0xAE service 0x15: GET_RCV_MODE, Get current receive mode<br />

Parameters<br />

Get current receive mode of the Ethernet device.<br />

Page 382 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!