Skip to content

Commit eae570e

Browse files
Amanda Butlerkegilbert
authored andcommitted
Edit EMAC.h
Change Latin abbreviation to English phrase and fix capitalization of EMAC while I'm at it.
1 parent 4bc7bf3 commit eae570e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

features/netsocket/EMAC.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
/**
2828
* This interface should be used to abstract low level access to networking hardware
29-
* All operations receive a `void *` HW pointer which an emac device provides when
29+
* All operations receive a `void *` hardware pointer which an EMAC device provides when
3030
* it is registered with a stack.
3131
*/
3232
class EMAC {
@@ -40,15 +40,15 @@ class EMAC {
4040
static EMAC &get_default_instance();
4141

4242
/**
43-
* Callback to be register with Emac interface and to be called for received packets
43+
* Callback to be register with EMAC interface and to be called for received packets
4444
*
4545
* @param buf Received data
4646
*/
4747
//typedef void (*emac_link_input_fn)(void *data, emac_mem_buf_t *buf);
4848
typedef mbed::Callback<void (emac_mem_buf_t *buf)> emac_link_input_cb_t;
4949

5050
/**
51-
* Callback to be register with Emac interface and to be called for link status changes
51+
* Callback to be register with EMAC interface and to be called for link status changes
5252
*
5353
* @param up Link status
5454
*/
@@ -65,7 +65,7 @@ class EMAC {
6565
/**
6666
* Gets memory buffer alignment preference
6767
*
68-
* Gets preferred memory buffer alignment of the Emac device. IP stack may or may not
68+
* Gets preferred memory buffer alignment of the EMAC device. IP stack may or may not
6969
* align link out memory buffer chains using the alignment.
7070
*
7171
* @return Memory alignment requirement in bytes
@@ -107,7 +107,7 @@ class EMAC {
107107
* Provided address has to be of correct size, see @a get_hwaddr_size
108108
*
109109
* Called to set the MAC address to actually use - if @a get_hwaddr is provided
110-
* the stack would normally use that, but it could be overridden, e.g. for test
110+
* the stack would normally use that, but it could be overridden, for example for test
111111
* purposes.
112112
*
113113
* @param addr Address to be set

0 commit comments

Comments
 (0)