PER Firmware
Loading...
Searching...
No Matches
w5500_callbacks.c File Reference

Implementation of the W5500 SPI callbacks for ethernet communication. More...

#include "w5500/wizchip_conf.h"
#include "common/phal_F4/spi/spi.h"
#include "main.h"
Include dependency graph for w5500_callbacks.c:

Functions

static void cs_sel (void)
 
static void cs_desel (void)
 
static uint8_t spi_rb (uint32_t addr)
 
static void spi_wb (uint32_t addr, uint8_t b)
 
static void spi_rb_burst (uint32_t addr, uint8_t *pBuf, uint16_t len)
 
static void spi_wb_burst (uint32_t addr, uint8_t *pBuf, uint16_t len)
 
static void crit_enter (void)
 
static void crit_exit (void)
 
static void PHAL_SPI_transfer_noDMA_DAQW5500Only (SPI_InitConfig_t *spi, uint32_t addr, const uint8_t *tx_data, uint32_t txlen, uint32_t rxlen, uint8_t *rx_data)
 
void w5500_register_callbacks (void)
 

Variables

SPI_InitConfig_t eth_spi_config
 

Detailed Description

Implementation of the W5500 SPI callbacks for ethernet communication.

Author
Eileen Yoon (eyn@p.nosp@m.urdu.nosp@m.e.edu)

Function Documentation

◆ crit_enter()

static void crit_enter ( void )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ crit_exit()

static void crit_exit ( void )
static
Here is the caller graph for this function:

◆ cs_desel()

static void cs_desel ( void )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cs_sel()

static void cs_sel ( void )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PHAL_SPI_transfer_noDMA_DAQW5500Only()

static void PHAL_SPI_transfer_noDMA_DAQW5500Only ( SPI_InitConfig_t * spi,
uint32_t addr,
const uint8_t * tx_data,
uint32_t txlen,
uint32_t rxlen,
uint8_t * rx_data )
static
Here is the caller graph for this function:

◆ spi_rb()

static uint8_t spi_rb ( uint32_t addr)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spi_rb_burst()

static void spi_rb_burst ( uint32_t addr,
uint8_t * pBuf,
uint16_t len )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spi_wb()

static void spi_wb ( uint32_t addr,
uint8_t b )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spi_wb_burst()

static void spi_wb_burst ( uint32_t addr,
uint8_t * pBuf,
uint16_t len )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ w5500_register_callbacks()

void w5500_register_callbacks ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ eth_spi_config

SPI_InitConfig_t eth_spi_config
extern