All comments in the library, bootloaders, demos and projects have now been spell...
[pub/USBasp.git] / Demos / Device / RNDISEthernet / Ethernet.c
index b8d5615..3d34f71 100644 (file)
 /** \file\r
  *\r
  *  Ethernet frame packet handling routines. This protocol handles the processing of raw Ethernet\r
- *  frames sent and receieved, deferring the processing of subpacket protocols to the appropriate\r
+ *  frames sent and received, deferring the processing of subpacket protocols to the appropriate\r
  *  protocol handlers, such as DHCP or ARP.\r
  */\r
  \r
 #include "Ethernet.h"\r
 \r
 /* Global Variables: */\r
-/** Ethernet Frame buffer structure, to hold the incomming Ethernet frame from the host. */\r
+/** Ethernet Frame buffer structure, to hold the incoming Ethernet frame from the host. */\r
 Ethernet_Frame_Info_t FrameIN;\r
 \r
 /** Ethernet Frame buffer structure, to hold the outgoing Ethernet frame to the host. */\r
@@ -60,14 +60,14 @@ const IP_Address_t  BroadcastIPAddress  = {BROADCAST_IP_ADDRESS};
 const IP_Address_t  ClientIPAddress     = {CLIENT_IP_ADDRESS};\r
 \r
 \r
-/** Processes an incomming Ethernet frame, and writes the appropriate response to the output Ethernet\r
+/** Processes an incoming Ethernet frame, and writes the appropriate response to the output Ethernet\r
  *  frame buffer if the sub protocol handlers create a valid response.\r
  */\r
 void Ethernet_ProcessPacket(void)\r
 {\r
        DecodeEthernetFrameHeader(FrameIN.FrameData);\r
 \r
-       /* Cast the incomming Ethernet frame to the Ethernet header type */\r
+       /* Cast the incoming Ethernet frame to the Ethernet header type */\r
        Ethernet_Frame_Header_t* FrameINHeader  = (Ethernet_Frame_Header_t*)&FrameIN.FrameData;\r
        Ethernet_Frame_Header_t* FrameOUTHeader = (Ethernet_Frame_Header_t*)&FrameOUT.FrameData;\r
        \r
@@ -91,7 +91,7 @@ void Ethernet_ProcessPacket(void)
                                break;\r
                }\r
                \r
-               /* Protcol processing routine has filled a response, complete the ethernet frame header */\r
+               /* Protocol processing routine has filled a response, complete the ethernet frame header */\r
                if (RetSize > 0)\r
                {\r
                        /* Fill out the response Ethernet frame header */\r