Livt packages

Livt.IO

Version 1.8.1

Memory, UART, I2C, SPI, and Ethernet input/output components for Livt hardware designs.

Published files (126)

src/ethernet/IMdioController.lvt

namespace Livt.IO

/** One serialized caller; each operation includes 32 preamble bits and bounded wire time. */
public interface IMdioController
{
	/** Success reads 16 bits; absent/invalid turnaround gives DeviceFailure and zero. */
	fn Read(phy: byte, register: byte, value: out logic[16]) EthernetResult

	/** Success reports local write completion, not acknowledgment by the PHY. */
	fn Write(phy: byte, register: byte, value: logic[16]) EthernetResult
}