XWOS API
4.0
XWOS C/C++ API参考手册
|
SPI Flash W25Qxx Device 更多...
结构体 | |
struct | xwds_w25qxx_cmd |
W25QXX Flash 命令 更多... | |
struct | xwds_w25qxx_parameter |
W25QXX Flash 参数 更多... | |
struct | xwds_w25qxx |
W25QXX Flash 设备 更多... | |
宏定义 | |
#define | XWDS_W25QXX_CMD_MAX_PAYLOAD 256U |
函数 | |
void | xwds_w25qxx_construct (struct xwds_w25qxx *w25qxx) |
void | xwds_w25qxx_destruct (struct xwds_w25qxx *w25qxx) |
static xwer_t | xwds_w25qxx_grab (struct xwds_w25qxx *w25qxx) |
W25QXX API:增加对象的引用计数 | |
static xwer_t | xwds_w25qxx_put (struct xwds_w25qxx *w25qxx) |
W25QXX API:减少对象的引用计数 | |
SPI Flash W25Qxx Device
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
spip->bus
指明是SOC中的哪条SPI总线;xwds_w25qxx_cfgbus()
,需要在配置 spip->buscfgid
指明 SPI总线配置的序号,SPI主机配置列表( spip->bus->buscfg
数组) 中必须要有此配置。 在文件 device.h 中定义.