34 lines
545 B
C
34 lines
545 B
C
|
|
#ifndef __WIZ_PLATFORM_H__
|
||
|
|
#define __WIZ_PLATFORM_H__
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief hardware reset wizchip
|
||
|
|
* @param none
|
||
|
|
* @return none
|
||
|
|
*/
|
||
|
|
void wizchip_reset(void);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief Register the WIZCHIP SPI callback function
|
||
|
|
* @param none
|
||
|
|
* @return none
|
||
|
|
*/
|
||
|
|
void wizchip_spi_cb_reg(void);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief Turn on wiz timer interrupt
|
||
|
|
* @param none
|
||
|
|
* @return none
|
||
|
|
*/
|
||
|
|
void wiz_tim_irq_enable(void);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief Turn off wiz timer interrupt
|
||
|
|
* @param none
|
||
|
|
* @return none
|
||
|
|
*/
|
||
|
|
void wiz_tim_irq_disable(void);
|
||
|
|
#endif
|