| Electronic Components Datasheet Search |
|
UM0248 Datasheet(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0248 Datasheet(HTML) 18 Page - STMicroelectronics |
|
18 / 26 page ![]() ENET firmware library UM0248 18/26 2.2.11 ENET_HandleRxPkt 2.2.12 ENET_UpdateTxDescr 2.2.13 ENET_HandleTxPkt Function name ENET_HandleRxPkt Function prototype u32 ENET_HandleRxPkt(void *ppkt) Behavior description Receives a packet and copies it to memory buffer pointed by ppkt. Input parameter ppkt: pointer on application receive buffer. Output parameter None Return parameter Packet size value or 0 (if there is no packet). Required preconditions None Called functions ENET_GetRxStatus ENET_UpdateRxDscr Function name ENET_UpdateTxDescr Function prototype void ENET_SendPkt(void) Behavior description Starts frame sending by setting the valid bit in the ENET DMA PACKET STATUS word. Input parameter None Output parameter None Return parameter None Required preconditions None Called functions None Function name ENET_HandleTxPkt Function prototype void ENET_HandleTxPkt(void *ppkt, u16 size) Behavior description Performs the packet transmission: - copies the packet pointed by ppkt to the ENET DMA buffer memory, - starts packet sending by setting the valid bit in the PACKET STATUS word of the corresponding ENET DMA descriptor. Input parameter 1 ppkt: pointer on application receive buffer. Input parameter 2 size: the size of the packet to be copied. Output parameter None Return parameter None Required preconditions None Called functions ENET_UpdateTxDscr |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |