Socket APIs
|
Todo List
- globalScope> Member _WIZCHIP_
- You should select one, 5100, 5200, 5300, 5500 or etc.
ex>#define _WIZCHIP_ 5500
- globalScope> Member _WIZCHIP_IO_BASE_
- Should re-define it to fit your system when BUS IF Mode (_WIZCHIP_IO_MODE_BUS_, _WIZCHIP_IO_MODE_BUS_DIR_, _WIZCHIP_IO_MODE_BUS_INDIR_).
ex>#define _WIZCHIP_IO_BASE_ 0x00008000
- globalScope> Member _WIZCHIP_IO_MODE_
- Should select interface mode as chip.
- _WIZCHIP_IO_MODE_SPI_
-_WIZCHIP_IO_MODE_SPI_VDM_ : Valid only in _WIZCHIP_ == 5500
-_WIZCHIP_IO_MODE_SPI_FDM_ : Valid only in _WIZCHIP_ == 5500
- _WIZCHIP_IO_MODE_BUS_
- Others will be defined in future.
ex>#define _WIZCHIP_IO_MODE_ _WIZCHIP_IO_MODE_SPI_VDM_
- _WIZCHIP_IO_MODE_SPI_
- globalScope> Member reg_wizchip_bus_cbfunc (iodata_t(*bus_rb)(uint32_t addr), void(*bus_wb)(uint32_t addr, iodata_t wb))
- Describe wizchip_bus_readbyte and wizchip_bus_writebyte function or register your functions.
- Note
- If you do not describe or register, null function is called.
- globalScope> Member reg_wizchip_cris_cbfunc (void(*cris_en)(void), void(*cris_ex)(void))
- Describe WIZCHIP_CRITICAL_ENTER and WIZCHIP_CRITICAL_EXIT marco or register your functions.
- Note
- If you do not describe or register, default functions(wizchip_cris_enter & wizchip_cris_exit) is called.
- globalScope> Member reg_wizchip_cs_cbfunc (void(*cs_sel)(void), void(*cs_desel)(void))
- Describe wizchip_cs_select and wizchip_cs_deselect function or register your functions.
- Note
- If you do not describe or register, null function is called.
- globalScope> Member reg_wizchip_spi_cbfunc (uint8_t(*spi_rb)(void), void(*spi_wb)(uint8_t wb))
- Describe wizchip_spi_readbyte and wizchip_spi_writebyte function or register your functions.
- Note
- If you do not describe or register, null function is called.
- globalScope> Member reg_wizchip_spiburst_cbfunc (void(*spi_rb)(uint8_t *pBuf, uint16_t len), void(*spi_wb)(uint8_t *pBuf, uint16_t len))
- Describe wizchip_spi_readbyte and wizchip_spi_writebyte function or register your functions.
- Note
- If you do not describe or register, null function is called.
Generated on Wed May 4 2016 16:43:59 for Socket APIs by 1.8.9.1