Altera Triple Speed Ethernet MegaCore Function Manuel d'utilisateur Page 186

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 223
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 185
Details
psys_macA pointer to the MAC structure.
psys_sgdmaA pointer to the scatter-gather DMA structure.
psys_memA pointer to the memory structure.
psys_shared_fifoA pointer to the FIFO structure.
psys_phyA pointer to the PHY structure.
Parameter:
SUCCESS if the operation is successful.SUCCESS if the operation is successful. ALTERA_
TSE_MALLOC_FAILED if the operation fails. ALTERA_TSE_SYSTEM_DEF_ERROR if one
or more of the definitions are incorrect, or empty.
Return:
triple_speed_ethernet_init()
Details
error_t triple_speed_ethernet_init(alt_niche_dev *p_dev)Prototype:
NoThread-safe:
NoAvailable from ISR:
<triple_speed_ethernet_iniche.h>Include:
The triple_speed ethernet_init() function opens and initializes the Triple-
Speed Ethernet driver. Initialization involves the following operations:
Set up the NET structure of the MAC device instance.
Configure the MAC PHY Address.
Register and open the SGDMA RX and TX Module of the MAC device instance.
Enable the SGDMA RX interrupt and register it to the Operating System.
Register the SGDMA RX callback function.
Obtains the PHY Speed of the MAC.
Set up the Ethernet MAC Register settings for the Triple-Speed Ethernet driver
operation.
Set up the initial descriptor chain to start the SGDMA RX operation.
Description:
p_devA pointer to the Triple-Speed Ethernet device instance.Parameter:
SUCCESS if the Triple-Speed Ethernet driver is successfully initialized.Return:
tse_mac_close()See also:
tse_mac_close()
Details
int tse_mac_close(int iface)Prototype:
NoThread-safe:
NoAvailable from ISR:
Altera Corporation
Software Programming Interface
Send Feedback
11-7
triple_speed_ethernet_init()
UG-01008
2014.06.30
Vue de la page 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 222 223

Commentaires sur ces manuels

Pas de commentaire