Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NetDev_Stop()

The next function within the device API structure is the device Stop() function. This function is called once each time an interface is stopped.

...

Every device driver’s net_dev.c

Prototype

 

...

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’.

...