Mikroc – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 187

Advertising
background image

MikroElektronika: Development tools - Books - Compilers

179

page

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

Prototype

void

Eth_Ping_Response(void);

Description

An automated ICMP (Ping) response. User should call this function when answerring to
an ICMP/IP event.

Requires

As specified for the entire library.

Example

Eth_Ping_Response();

Eth_Ping_Response

Prototype

void

Eth_Get_Icmp_Info(void);

Description

Loads ICMP protocol information (from the header of the received ICMP packet) and
stores it to the PIC’s Ethernet variables.

Requires

The card (NIC) must be properly initialized. See

Eth_Init

. Also, this function must be

called in a proper sequence, and before the

Eth_Ping_Response

.

Example

Eth_Get_Icmp_Info();

Eth_Get_Icmp_Info

Prototype

void

Eth_Arp_Response(void);

Description

An automated ARP response. User should simply call this function once he detects the
ARP event on the NIC.

Requires

As specified for the entire library.

Example

Eth_Arp_Response();

Eth_Arp_Response

Advertising
This manual is related to the following products: