nfc_pn544_device_t 結構體參考資料
nfc_pn544_device_t 結構體參考資料
#include <
nfc.h
>
資料欄位 |
|
| struct hw_device_t | 通用 |
| uint32_t | num_eeprom_settings |
| uint8_t * | eeprom_settings |
| nfc_pn544_linktype | linktype |
| const char * | device_node |
| uint8_t | enable_i2c_workaround |
| uint8_t | i2c_device_address |
詳細說明
欄位說明文件
| struct hw_device_t common |
NFC NXP PN544 裝置的常用方法。這個 必須是 nfc_pn544_device_t 的首位成員,因為這個結構的使用者會將 hw_device_t 指派給 nfc_pn544_device_t 指標,且在已知 hw_device_t 參照 nfc_pn544_device_t 的情況下,會在該情境中執行此動作。
| nfc_pn544_linktype linktype |
這個結構體的說明文件是由下列檔案產生:
- hardware/libhardware/include/hardware/ nfc.h