Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Include Page
css.uC-TCP-IP Wireless Device Driver APIs.css
css.uC-TCP-IP Wireless Device Driver APIs.css
Include Page
css.webworks.css
css.webworks.css

...

HTML Table
summary
classCode_Listing
Table Row (tr)
Table Cell (td)
rowspan2

Anchor
1109785
1109785
static void NetDev_Stop (NET_IF *pifp_if,

Anchor
113587611514181135876
1151418
NET_ERR *perrp_err);

Table Row (tr)

Anchor
1109790
1109790
Note that since every device driver’s Stop() function is accessed only by function pointer via the device driver’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’.

Anchor
1109791
1109791
Arguments

Anchor
1131842
1131842
pif p_if

Anchor
1131843
1131843
Pointer to the interface to start a network device.

Anchor
1131844
1131844
perr p_err

Anchor
1131845
1131845
Pointer to variable that will receive the return error code from this function.

...

  1. Anchor
    1091079
    1091079
    Disable the receiver and transmitter.
  2. Anchor
    1091086
    1091086
    Disable all local MAC interrupt sources.
  3. Anchor
    1091093
    1091093
    Clear all local MAC interrupt status flags.
  4. Anchor
    1091100
    1091100
    For DMA devices, re-initialize all receive descriptors. Anchor10911071091107 For DMA devices, free all transmit descriptors by calling NetOS_IF_DeallocTaskPost() with the address of the transmit descriptor data areas Power down the wireless device.
  5. 1091114
    Anchor
    1091114
    For DMA devices, re-initialize all transmit descriptors.
    Anchor
    1091121
    1091121
    Set perr p_err to NET_DEV_ERR_NONE if no error occurs. Otherwise, set perr p_err to an appropriate network device error code.