Maxim-integrated 78Q8430 ST 5100/OS-20 with NexGen TCP/IP Stack Manual do Utilizador Página 14

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 28
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 13
78Q8430 Driver Manual for ST5100/OS-20 with NexGen TCP/IP Stack UM_8430_005
14 Rev. 1.0
4.2 STETHER_Close ()
Prototype:
int STETHER_Close(NGifnet *netp)
Description:
Driver cleanup and Ethernet controller shutdown are handled by this function. It stops the driver,
deletes the task and serialization, unloads the driver and de-queues and frees any pending buffers.
Parameters:
netp network interface type NGethifnet_tsc
Returns:
NG_EOK if OK.
NG_EALREADY Error if interface is not up.
Figure 5: STETHER_Close Call Graph
4.3 STETHER_Config ()
Prototype:
void STETHER_Config (U32 Eth_BaseAddr,U8 Addr_Shift,U8 Tsc_Interrupt,U8 Int_Level,
U8 Use16Bit,U8 Trans_Len)
Description:
This routine configures the 78Q8430 interface. It records the input parameters in globally available
variables for use by the driver.
Parameters:
Eth_BaseAddr 78Q8430 base address
Addr_Shift address shift
Tsc_Interrupt tsc interrupt
Int_Level interrupt level
Use16Bit use 16-bit bus width
Trans_Len transfer packet length
Returns:
none
4.4 STETHER_Config_ARC ()
Prototype:
void STETHER_Config_ARC(NGifnet *netp)
Description:
This function configures the ARC table with the contents of the preset arc_entry[] array found in
DEVICE_CONTROL_STRUCT. The ARC address has the same format as a standard 6 byte MAC
address. It implements all the available default rules.
Vista de página 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 27 28

Comentários a estes Manuais

Sem comentários