nfc_nci_device 结构参考
nfc_nci_device 结构参考
#include < nfc.h >
数据字段 | |
结构体hw_device_t | 常见的 |
整数(* | 打开)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, nfc_stack_data_callback_t *p_data_cback) |
整数(* | 写)(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data) |
整数(* | core_initialized )(const struct nfc_nci_device *p_dev, uint8_t *p_core_init_rsp_params) |
整数(* | pre_discover )(const struct nfc_nci_device *p_dev) |
整数(* | 关闭)(const struct nfc_nci_device *p_dev) |
整数(* | control_granted )(const struct nfc_nci_device *p_dev) |
整数(* | power_cycle )(const struct nfc_nci_device *p_dev) |
详细说明
现场文档
int(* close)(const struct nfc_nci_device *p_dev) |
结构体hw_device_t公共 |
NFC NCI设备的常用方法。这必须是 nfc_nci_device_t 的第一个成员,因为该结构的用户将在已知 hw_device_t 引用nfc_nci_device_t的上下文中将hw_device_t强制转换为 nfc_nci_device_t 指针。
int(* control_granted)(const struct nfc_nci_device *p_dev) |
int(* core_initialized)(const struct nfc_nci_device *p_dev, uint8_t *p_core_init_rsp_params) |
int(* open)(const struct nfc_nci_device *p_dev, nfc_stack_callback_t *p_cback, nfc_stack_data_callback_t *p_data_cback) |
int(* power_cycle)(const struct nfc_nci_device *p_dev) |
int(* pre_discover)(const struct nfc_nci_device *p_dev) |
int(* 写)(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data) |
该结构的文档是从以下文件生成的: