#include "ip64-driver.h"
Functions | |
int | ksz8851snl_read (uint8_t *, uint16_t) |
int | ksz8851snl_send (const uint8_t *, uint16_t) |
Variables | |
struct ip64_driver | ksz8851snl_ip64_driver |
Copyright (c) 2015 Microchip Technology Inc and 2012 – 2013, Thingsquare, http://www.thingsquare.com/. More... | |
int ksz8851snl_read | ( | uint8_t * | , |
uint16_t | |||
) |
References ADDR_PTR_MASK, ksz8851_fifo_read(), ksz8851_reg_clrbits(), ksz8851_reg_read(), ksz8851_reg_setbits(), ksz8851_reg_write(), len, printf, REG_INT_MASK, REG_INT_STATUS, REG_RX_ADDR_PTR, REG_RX_FHR_BYTE_CNT, REG_RX_FHR_STATUS, REG_RX_FRAME_CNT_THRES, REG_RXQ_CMD, RX_BYTE_CNT_MASK, RXQ_CMD_FREE_PACKET, RXQ_START, and status.
Referenced by PROCESS_THREAD().
int ksz8851snl_send | ( | const uint8_t * | , |
uint16_t | |||
) |
References ksz8851_fifo_write(), ksz8851_fifo_write_begin(), ksz8851_fifo_write_end(), ksz8851_reg_clrbits(), ksz8851_reg_read(), ksz8851_reg_setbits(), ksz8851_reg_write(), printf, REG_INT_MASK, REG_RXQ_CMD, REG_TX_MEM_INFO, REG_TXQ_CMD, RXQ_START, TX_MEM_AVAILABLE_MASK, and TXQ_ENQUEUE.
Referenced by output().
struct ip64_driver ksz8851snl_ip64_driver |
Copyright (c) 2015 Microchip Technology Inc and 2012 – 2013, Thingsquare, http://www.thingsquare.com/.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.