Download Triple-Speed Ethernet MegaCore Function User Guide
Transcript
UG-01008 2015.06.15 triple_speed_ethernet_init() 11-7 Details Prototype: alt_tse_system_add_sys(alt_tse_system_mac *psys_mac, alt_tse_ system_sgdma *psys_sgdma, alt_tse_system_desc_mem *psys_mem, alt_tse_system_shared_fifo *psys_shared_fifo, alt_tse_system_ phy *psys_phy) Thread-safe: No Available from ISR: No Include: <system.h><system.h><altera_avalon_tse_system_info.h> <altera_avalon_tse.h><altera_avalon_tse_system_info.h> <altera_avalon_tse_system_info.h><altera_avalon_tse_system_info.h> Description: The alt_tse_system_add_sys() function defines the TSE system’s components: MAC, scatter-gather DMA, memory, FIFO and PHY. This needs to be done for each port in the system. Parameter: psys_mac—A pointer to the MAC structure. psys_sgdma—A pointer to the scatter-gather DMA structure. psys_mem—A pointer to the memory structure. psys_shared_fifo—A pointer to the FIFO structure. psys_phy—A pointer to the PHY structure. Return: 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. triple_speed_ethernet_init() Details Prototype: error_t triple_speed_ethernet_init(alt_niche_dev *p_dev) Thread-safe: No Available from ISR: No Include: <triple_speed_ethernet_iniche.h> Software Programming Interface Send Feedback Altera Corporation