Altera Triple Speed Ethernet MegaCore Function Bedienungsanleitung Seite 184

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 223
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 183
DefinitionFile
#ifndef BIGBUFSIZE
#define BIGBUFSIZE 1536
#endif
<BSP project directory> \iniche\src\h\nios2\
ipport.h
Note to Table 11-2 :
1. The maximum value for ALTERA_TSE_MAC_MAX_FRAME_LENGTH is defined by the frm_length register.
API Functions
This section describes each provided API function in alphabetical order.
alt_tse_mac_get_common_speed()
Details
alt_tse_mac_get_common_speed(np_tse_mac *pmac)Prototype:
NoThread-safe:
NoAvailable from ISR:
<altera_avalon_tse.h>Include:
The alt_tse_mac_get_common_speed()obtains the common speed supported by
the PHYs connected to a multiport MAC and remote link partners.
Description:
pmacA pointer to the base of the MAC control interface.Parameter:
TSE_PHY_SPEED_1000 if the PHYs common speed is 1000 Mbps. TSE_PHY_SPEED_
100 if the PHYs common speed is 100 Mbps. TSE_PHY_SPEED_10 if the PHYs
common speed is 10 Mbps. TSE_PHY_SPEED_NO_COMMON if there isnt a common
speed among the PHYs.
Return:
alt_32 alt_tse_mac_set_common_speed()See also:
alt_tse_mac_set_common_speed()
Details
alt_tse_mac_set_common_speed(np_tse_mac *pmac, alt_32 common_speed)Prototype:
NoThread-safe:
NoAvailable from ISR:
<altera_avalon_tse.h>Include:
The alt_tse_mac_set_common_speed() sets the speed of a multiport MAC and
the PHYs connected to it.
Description:
pmacA pointer to the base of the MAC control interface.
common_speedThe speed to set.
Parameter:
Altera Corporation
Software Programming Interface
Send Feedback
11-5
API Functions
UG-01008
2014.06.30
Seitenansicht 183
1 2 ... 179 180 181 182 183 184 185 186 187 188 189 ... 222 223

Kommentare zu diesen Handbüchern

Keine Kommentare