![]() |
WIZlib Library API
ver 1.0
WIZlib Library API User Menual
|
Network Device Control. More...
|
Macros | |
| #define | DEVICE_INIT_WITH_MEMCHK(tx_size_v, rx_size_v) |
| Call device_init after array param check. | |
Functions | |
| void | device_init (uint8 *tx_size, uint8 *rx_size) |
| Initialize the w5200 device. More... | |
| void | device_SW_reset (void) |
| Reset w5200 device. More... | |
| void | device_mem_init (uint8 *tx_size, uint8 *rx_size) |
| Initialize the Tx, Rx buffer size as per the channels. More... | |
| void | SetNetInfo (wiz_NetInfo *netinfo) |
| This function set the network information. More... | |
| void | ClsNetInfo (netinfo_member member) |
| Clear specific device address to zero. More... | |
| void | GetNetInfo (wiz_NetInfo *netinfo) |
| This function get the network information. More... | |
| void | device_HW_reset (void) |
| Reset the Network Device. | |
Network Device Control.
| void ClsNetInfo | ( | netinfo_member | member | ) |
Clear specific device address to zero.
| member | the member variable of netinfo_member. |
Definition at line 119 of file w5200/socket.c.
| void device_init | ( | uint8 * | tx_size, |
| uint8 * | rx_size | ||
| ) |
Initialize the w5200 device.
| tx_size | Tx socket buffer size array |
| rx_size | Rx socket buffer size array |
Definition at line 34 of file w5200/socket.c.
| void device_mem_init | ( | uint8 * | tx_size, |
| uint8 * | rx_size | ||
| ) |
Initialize the Tx, Rx buffer size as per the channels.
This is called by device_init function.
but after network device reset by user, this may be necessary.
| tx_size | Tx socket buffer size array |
| rx_size | Rx socket buffer size array |
Definition at line 46 of file w5200/socket.c.

| void device_SW_reset | ( | void | ) |
Reset w5200 device.
Be careful to use this because after reset the device, all register will return to reset value.
Definition at line 40 of file w5200/socket.c.

| void GetNetInfo | ( | wiz_NetInfo * | netinfo | ) |
This function get the network information.
| netinfo | Network address struct wiz_NetInfo |
Definition at line 145 of file w5200/socket.c.

| void SetNetInfo | ( | wiz_NetInfo * | netinfo | ) |
This function set the network information.
You can set network addresses through this.
If zero address is set in variable, it will be ignored.
| netinfo | Network address struct wiz_NetInfo |
Definition at line 97 of file w5200/socket.c.

1.8.3.1