Loading...
Searching...
No Matches
greth_regs_t Struct Reference

GRETH APB register map. More...

Detailed Description

GRETH APB register map.

All registers are 32-bit wide. Base address from grmon: APB 0xff984000.

Definition at line 29 of file greth_regs.h.

#include <greth_regs.h>

Data Fields

volatile uint32_t ctrl
 0x00 Control
 
volatile uint32_t status
 0x04 Status / Interrupt flags
 
volatile uint32_t mac_msb
 0x08 MAC address bytes [0:1]
 
volatile uint32_t mac_lsb
 0x0C MAC address bytes [2:5]
 
volatile uint32_t mdio
 0x10 MDIO control and data
 
volatile uint32_t tx_desc
 0x14 TX descriptor table base address
 
volatile uint32_t rx_desc
 0x18 RX descriptor table base address
 
volatile uint32_t edcl_ip
 0x1C EDCL IP address (read-only)
 

Field Documentation

◆ ctrl

volatile uint32_t greth_regs_t::ctrl

0x00 Control

Definition at line 30 of file greth_regs.h.

◆ edcl_ip

volatile uint32_t greth_regs_t::edcl_ip

0x1C EDCL IP address (read-only)

Definition at line 37 of file greth_regs.h.

◆ mac_lsb

volatile uint32_t greth_regs_t::mac_lsb

0x0C MAC address bytes [2:5]

Definition at line 33 of file greth_regs.h.

◆ mac_msb

volatile uint32_t greth_regs_t::mac_msb

0x08 MAC address bytes [0:1]

Definition at line 32 of file greth_regs.h.

◆ mdio

volatile uint32_t greth_regs_t::mdio

0x10 MDIO control and data

Definition at line 34 of file greth_regs.h.

◆ rx_desc

volatile uint32_t greth_regs_t::rx_desc

0x18 RX descriptor table base address

Definition at line 36 of file greth_regs.h.

◆ status

volatile uint32_t greth_regs_t::status

0x04 Status / Interrupt flags

Definition at line 31 of file greth_regs.h.

◆ tx_desc

volatile uint32_t greth_regs_t::tx_desc

0x14 TX descriptor table base address

Definition at line 35 of file greth_regs.h.


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