Webserver+3d print
MRF24WG Wi-Fi controller. More...
Go to the source code of this file.
Functions | |
error_t | mrf24wgInit (NetInterface *interface) |
MRF24WG initialization. | |
void | mrf24wgTick (NetInterface *interface) |
MRF24WG timer handler. | |
void | mrf24wgEnableIrq (NetInterface *interface) |
Enable interrupts. | |
void | mrf24wgDisableIrq (NetInterface *interface) |
Disable interrupts. | |
void | mrf24wgEventHandler (NetInterface *interface) |
MRF24WG event handler. | |
error_t | mrf24wgSendPacket (NetInterface *interface, const NetBuffer *buffer, size_t offset) |
Send a packet. | |
error_t | mrf24wgSetMulticastFilter (NetInterface *interface) |
Configure multicast MAC address filtering. | |
void | WF_ProcessEvent (uint8_t eventType, uint32_t eventData) |
Callback function that handles Wi-Fi events. | |
void | WF_RxPacketReady (void) |
Callback function (packet received) | |
void | WF_TxComplete (uint8_t *p) |
Callback function (packet transmitted) | |
Variables | |
const NicDriver | mrf24wgDriver |
MRF24WG driver. |
Detailed Description
MRF24WG 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 mrf24wg_driver.c.
Function Documentation
void mrf24wgDisableIrq | ( | NetInterface * | interface ) |
Disable interrupts.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 132 of file mrf24wg_driver.c.
void mrf24wgEnableIrq | ( | NetInterface * | interface ) |
Enable interrupts.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 122 of file mrf24wg_driver.c.
void mrf24wgEventHandler | ( | NetInterface * | interface ) |
MRF24WG event handler.
- Parameters:
-
[in] interface Underlying network interface
Definition at line 142 of file mrf24wg_driver.c.
error_t mrf24wgInit | ( | NetInterface * | interface ) |
MRF24WG initialization.
- Parameters:
-
[in] interface Underlying network interface
- Returns:
- Error code
Definition at line 81 of file mrf24wg_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 155 of file mrf24wg_driver.c.
error_t mrf24wgSetMulticastFilter | ( | NetInterface * | interface ) |
Configure multicast MAC address filtering.
- Parameters:
-
[in] interface Underlying network interface
- Returns:
- Error code
Definition at line 221 of file mrf24wg_driver.c.
void mrf24wgTick | ( | NetInterface * | interface ) |
MRF24WG 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 112 of file mrf24wg_driver.c.
void WF_ProcessEvent | ( | uint8_t | eventType, |
uint32_t | eventData | ||
) |
Callback function that handles Wi-Fi events.
- Parameters:
-
[in] eventType Type of notification [in] eventData Event data
Definition at line 262 of file mrf24wg_driver.c.
void WF_RxPacketReady | ( | void | ) |
Callback function (packet received)
Definition at line 317 of file mrf24wg_driver.c.
void WF_TxComplete | ( | uint8_t * | p ) |
Callback function (packet transmitted)
Definition at line 338 of file mrf24wg_driver.c.
Variable Documentation
const NicDriver mrf24wgDriver |
{ NIC_TYPE_ETHERNET, ETH_MTU, mrf24wgInit, mrf24wgTick, mrf24wgEnableIrq, mrf24wgDisableIrq, mrf24wgEventHandler, mrf24wgSendPacket, mrf24wgSetMulticastFilter, NULL, NULL, NULL, TRUE, TRUE, TRUE, TRUE }
MRF24WG driver.
Definition at line 54 of file mrf24wg_driver.c.
Generated on Tue Jul 12 2022 17:10:21 by
