|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
ESP-IDF MAC-address-type compatibility for the esp-hosted port. More...
#include <stdint.h>Go to the source code of this file.
Enumerations | |
| enum | esp_mac_type_t : uint8_t { ESP_MAC_WIFI_STA = 0U , ESP_MAC_WIFI_SOFTAP = 1U , ESP_MAC_BT = 2U , ESP_MAC_ETH = 3U , ESP_MAC_IEEE802154 = 4U , ESP_MAC_BASE = 5U , ESP_MAC_EFUSE_FACTORY = 6U , ESP_MAC_EFUSE_CUSTOM = 7U , ESP_MAC_EFUSE_EXT = 8U } |
| Which of the co-processor's MAC addresses an operation refers to. More... | |
ESP-IDF MAC-address-type compatibility for the esp-hosted port.
host/esp_hosted_misc.h declares three entry points that read and write the co-processor's interface MAC addresses, and each takes an esp_mac_type_t saying which of the C6's several addresses is meant. That type is an ESP-IDF one, so it is supplied here.
The values are not incidental: they cross the SPI link inside RPC requests and are interpreted by the co-processor firmware, which is built from ESP-IDF v5.5.4. Renumbering them would compile cleanly and then address the wrong interface on the far end, so the upstream ordering is reproduced exactly.
Definition in file esp_mac.h.
| enum esp_mac_type_t : uint8_t |
Which of the co-processor's MAC addresses an operation refers to.
The ESP32-C6 derives several interface addresses from one base address in efuse. The enumerator spellings and ordering are fixed by ESP-IDF and are what the co-processor firmware decodes, so they do not follow the project's k_ prefix convention.