...
Include Page |
---|
| css.webworks.css |
---|
| css.webworks.css |
---|
|
Anchor |
---|
| 104172010699401041720 |
---|
| 1069940 |
---|
|
Stopping a Network Device
Anchor |
---|
| 104172110699421041721 |
---|
| 1069942 |
---|
|
NetDev_Stop() is called once each time an interface is stopped.
Anchor |
---|
| 104172210503681041722 |
---|
| 1050368 |
---|
|
NetDev_Stop() must perform the following operations:
Anchor |
---|
| 104172310503691041723 |
---|
| 1050369 |
---|
|
Disable the receiver and transmitter. Anchor |
---|
| 104172410503701041724 |
---|
| 1050370 |
---|
|
Disable all local MAC interrupt sources. Anchor |
---|
| 104172510503711041725 |
---|
| 1050371 |
---|
|
Clear all local MAC interrupt status flags.- For DMA devices, re-initialize all receive descriptors Power down the wireless device via network device’s BSP function pointer, NetDev_WiFi_Stop().
Anchor |
---|
| 104172710503731041727 |
---|
| 1050373 |
---|
|
For DMA deviceswireless devices which can queued up packet to transmit, free all transmit descriptors buffer not yet transmitted by calling NetOS_IF_DeallocTaskPost() with the address of the transmit descriptor buffer data areas.- For DMA devices, re-initialize all transmit descriptors. Set perr to NET_DEV_ERR_NONE if no error occurs. Otherwise, set perr to an appropriate network device error code.
HTML Table |
---|
|
Table Row (tr) |
---|
Table Cell (td) |
---|
Some wireless module return result of commands via a response. The device’s Wireless Manager function pointer, NetWiFiMgr_Mgmt() should be used to perform these type of command since it will return only when the response is received and processed. |
|
|