Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
WILC1000 Wi-Fi controller. More...
Go to the source code of this file.
Functions | |
| error_t | wilc1000Init (NetInterface *interface) |
| WILC1000 initialization. | |
| void | wilc1000Tick (NetInterface *interface) |
| WILC1000 timer handler. | |
| void | wilc1000EnableIrq (NetInterface *interface) |
| Enable interrupts. | |
| void | wilc1000DisableIrq (NetInterface *interface) |
| Disable interrupts. | |
| bool_t | wilc1000IrqHandler (void) |
| WILC1000 interrupt service routine. | |
| void | wilc1000EventHandler (NetInterface *interface) |
| WILC1000 event handler. | |
| error_t | wilc1000SendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset) |
| Send a packet. | |
| error_t | wilc1000SetMulticastFilter (NetInterface *interface) |
| Configure multicast MAC address filtering. | |
| bool_t | wilc1000GetAddrRefCount (NetInterface *interface, const MacAddr *macAddr) |
| Get reference count for the specified multicast MAC address. | |
| void | wilc1000AppWifiEvent (uint8_t msgType, void *msg) |
| Callback function that handles Wi-Fi events. | |
| void | wilc1000AppEthEvent (uint8_t msgType, void *msg, void *ctrlBuf) |
| Callback function that handles events in bypass mode. | |
Variables | |
| const NicDriver | wilc1000StaDriver |
| WILC1000 driver (STA mode) | |
| const NicDriver | wilc1000ApDriver |
| WILC1000 driver (AP mode) | |
Detailed Description
WILC1000 Wi-Fi controller.
License
Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.
This file is part of CycloneTCP Open.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- Version:
- 1.7.6
Definition in file wilc1000_driver.h.
Function Documentation
| void wilc1000AppEthEvent | ( | uint8_t | msgType, |
| void * | msg, | ||
| void * | ctrlBuf | ||
| ) |
Callback function that handles events in bypass mode.
- Parameters:
-
[in] msgType Type of notification [in] msg Pointer to the buffer containing the notification parameters [in] ctrlBuf Pointer to the control buffer
Definition at line 536 of file wilc1000_driver.c.
| void wilc1000AppWifiEvent | ( | uint8_t | msgType, |
| void * | msg | ||
| ) |
Callback function that handles Wi-Fi events.
- Parameters:
-
[in] msgType Type of notification [in] msg Pointer to the buffer containing the notification parameters
Definition at line 452 of file wilc1000_driver.c.
| void wilc1000DisableIrq | ( | NetInterface * | interface ) |
Disable interrupts.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 240 of file wilc1000_driver.c.
| void wilc1000EnableIrq | ( | NetInterface * | interface ) |
Enable interrupts.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 230 of file wilc1000_driver.c.
| void wilc1000EventHandler | ( | NetInterface * | interface ) |
WILC1000 event handler.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 276 of file wilc1000_driver.c.
| bool_t wilc1000GetAddrRefCount | ( | NetInterface * | interface, |
| const MacAddr * | macAddr | ||
| ) |
Get reference count for the specified multicast MAC address.
- Parameters:
-
[in] interface Underlying network interface [in] macAddr MAC address
- Returns:
- Reference count
Definition at line 407 of file wilc1000_driver.c.
| error_t wilc1000Init | ( | NetInterface * | interface ) |
WILC1000 initialization.
- Parameters:
-
[in] interface Underlying network interface
- Returns:
- Error code
Definition at line 105 of file wilc1000_driver.c.
| bool_t wilc1000IrqHandler | ( | void | ) |
WILC1000 interrupt service routine.
- Returns:
- TRUE if a higher priority task must be woken. Else FALSE is returned
Definition at line 250 of file wilc1000_driver.c.
Send a packet.
- Parameters:
-
[in] interface Underlying network interface [in] buffer Multi-part buffer containing the data to send [in] offset Offset to the first data byte
- Returns:
- Error code
Definition at line 291 of file wilc1000_driver.c.
| error_t wilc1000SetMulticastFilter | ( | NetInterface * | interface ) |
Configure multicast MAC address filtering.
- Parameters:
-
[in] interface Underlying network interface
- Returns:
- Error code
Definition at line 351 of file wilc1000_driver.c.
| void wilc1000Tick | ( | NetInterface * | interface ) |
WILC1000 timer handler.
This routine is periodically called by the TCP/IP stack to handle periodic operations such as polling the link state
- Parameters:
-
[in] interface Underlying network interface
Definition at line 220 of file wilc1000_driver.c.
Variable Documentation
| const NicDriver wilc1000ApDriver |
WILC1000 driver (AP mode)
Definition at line 78 of file wilc1000_driver.c.
| const NicDriver wilc1000StaDriver |
WILC1000 driver (STA mode)
Definition at line 53 of file wilc1000_driver.c.
Generated on Tue Jul 12 2022 17:10:23 by
1.7.2