Choco OS  V.0.16.9.0
Join to the chocolate world
Context_t Struct Reference

stores ETH context More...

Data Fields

oC_ObjectControl_t ObjectControl
 
oC_ETH_LLD_Result_t Result
 Result of LLD configuration.
 
oC_ETH_ChipName_t ChipName
 Name of the used chip.
 
oC_ETH_PhyAddress_t PhyAddress
 Address of the external PHY.
 
oC_Net_InterfaceName_t InterfaceName
 Name of the interface.
 
oC_MemorySize_t ReceivedBytes
 Number of received bytes.
 
oC_MemorySize_t TransmittedBytes
 Number of transmitted bytes.
 
oC_Net_MacAddress_t MacAddress
 MAC address of the interface.
 
oC_BaudRate_t BaudRate
 Baud Rate of the interface.
 
oC_ETH_LLD_Descriptor_t RxDescriptorRing
 Pointer to the RX Descriptor ring (List of DMA descriptors required for receiving packets)
 
oC_ETH_LLD_Descriptor_t TxDescriptorRing
 Pointer to the TX Descriptor ring (List of DMA descriptors required for sending packets)
 
oC_Mutex_t ContextBusyMutex
 Pointer to the Mutex available when the Ethernet context is busy.
 
oC_Net_Layer_t LoopbackLayer
 Layer of enabled loopback or 0 if not enabled.
 

Detailed Description

context of the Telnet Service

stores LCDTFT context

stores FMC context

The structure is for storing context of the driver.

The object stores informations required for handling Telnet Service

The type for storing context of the machine (for threads). It consist of the machine registers, that should be saved when the context is switched.

Note
Order of these fields is very important and should be as in the machine.

Definition at line 97 of file oc_eth.c.

Field Documentation

oC_ObjectControl_t ObjectControl

The field for verification that the object is correct. For more information look at the #oc_object.h description.

Definition at line 100 of file oc_eth.c.


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