26
26
27
27
/* *
28
28
* 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
30
30
* it is registered with a stack.
31
31
*/
32
32
class EMAC {
@@ -40,15 +40,15 @@ class EMAC {
40
40
static EMAC &get_default_instance ();
41
41
42
42
/* *
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
44
44
*
45
45
* @param buf Received data
46
46
*/
47
47
// typedef void (*emac_link_input_fn)(void *data, emac_mem_buf_t *buf);
48
48
typedef mbed::Callback<void (emac_mem_buf_t *buf)> emac_link_input_cb_t ;
49
49
50
50
/* *
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
52
52
*
53
53
* @param up Link status
54
54
*/
@@ -65,7 +65,7 @@ class EMAC {
65
65
/* *
66
66
* Gets memory buffer alignment preference
67
67
*
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
69
69
* align link out memory buffer chains using the alignment.
70
70
*
71
71
* @return Memory alignment requirement in bytes
@@ -107,7 +107,7 @@ class EMAC {
107
107
* Provided address has to be of correct size, see @a get_hwaddr_size
108
108
*
109
109
* 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
111
111
* purposes.
112
112
*
113
113
* @param addr Address to be set
0 commit comments