ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_c6link_mac Struct Reference

One IEEE 802 address, by value. More...

#include <ra8_c6link.h>

Data Fields

uint8_t octet [k_ra8_c6link_mac_bytes]
 Address octets, first on the wire first.

Detailed Description

One IEEE 802 address, by value.

A named type rather than a bare uint8_t[6] so it can be returned, copied and compared without an array-decay parameter that loses its length.

Invariant
Exactly k_ra8_c6link_mac_bytes octets, in transmission order.
An all-zero value is never a valid station address, so it doubles as the "not yet read" sentinel.
Example:
(void)ra8_c6link_wifi_mac(&link, &mac);
See also
ra8_c6link_wifi_mac
Since
0.1.0

Definition at line 198 of file ra8_c6link.h.

Field Documentation

◆ octet

uint8_t ra8_c6link_mac::octet[k_ra8_c6link_mac_bytes]

The documentation for this struct was generated from the following file: