├── doc ├── html │ ├── bc_s.png │ ├── closed.png │ ├── modules.js │ ├── nav_f.png │ ├── nav_h.png │ ├── open.png │ ├── tab_a.png │ ├── tab_b.png │ ├── tab_h.png │ ├── tab_s.png │ ├── doxygen.png │ ├── ftv2doc.png │ ├── ftv2link.png │ ├── ftv2node.png │ ├── ftv2blank.png │ ├── ftv2mnode.png │ ├── ftv2pnode.png │ ├── ftv2lastnode.png │ ├── ftv2mlastnode.png │ ├── ftv2plastnode.png │ ├── ftv2splitbar.png │ ├── ftv2vertline.png │ ├── search │ │ ├── close.png │ │ ├── classes_74.js │ │ ├── mag_sel.png │ │ ├── search_l.png │ │ ├── search_m.png │ │ ├── search_r.png │ │ ├── typedefs_62.js │ │ ├── classes_75.js │ │ ├── functions_6d.js │ │ ├── typedefs_68.js │ │ ├── enums_64.js │ │ ├── files_68.js │ │ ├── functions_6e.js │ │ ├── functions_70.js │ │ ├── all_6f.js │ │ ├── classes_6d.js │ │ ├── classes_67.js │ │ ├── defines_6f.js │ │ ├── classes_65.js │ │ ├── defines_6e.js │ │ ├── defines_75.js │ │ ├── variables_68.js │ │ ├── variables_63.js │ │ ├── all_6c.js │ │ ├── classes_63.js │ │ ├── classes_68.js │ │ ├── variables_6c.js │ │ ├── files_6d.js │ │ ├── defines_6d.js │ │ ├── classes_73.js │ │ ├── all_76.js │ │ ├── functions_65.js │ │ ├── variables_76.js │ │ ├── all_77.js │ │ ├── all_61.js │ │ ├── functions_77.js │ │ ├── variables_61.js │ │ ├── variables_6d.js │ │ ├── defines_72.js │ │ ├── functions_63.js │ │ ├── variables_62.js │ │ ├── variables_67.js │ │ ├── variables_6e.js │ │ ├── defines_73.js │ │ ├── variables_69.js │ │ ├── nomatches.html │ │ ├── all_62.js │ │ ├── defines_68.js │ │ ├── variables_64.js │ │ ├── defines_65.js │ │ ├── variables_72.js │ │ ├── enumvalues_64.js │ │ ├── all_6e.js │ │ ├── defines_67.js │ │ ├── all_74.js │ │ ├── functions_74.js │ │ ├── variables_75.js │ │ ├── functions_69.js │ │ ├── variables_70.js │ │ ├── variables_65.js │ │ ├── all_6d.js │ │ ├── all_70.js │ │ ├── functions_72.js │ │ ├── all_61.html │ │ ├── all_62.html │ │ ├── all_63.html │ │ ├── all_64.html │ │ ├── all_65.html │ │ ├── all_67.html │ │ ├── all_68.html │ │ ├── all_69.html │ │ ├── all_6c.html │ │ ├── all_6d.html │ │ ├── all_6e.html │ │ ├── all_6f.html │ │ ├── all_70.html │ │ ├── all_72.html │ │ ├── all_73.html │ │ ├── all_74.html │ │ ├── all_75.html │ │ ├── all_76.html │ │ ├── all_77.html │ │ ├── enums_64.html │ │ ├── files_68.html │ │ ├── files_6d.html │ │ ├── classes_63.html │ │ ├── classes_65.html │ │ ├── classes_67.html │ │ ├── classes_68.html │ │ ├── classes_6d.html │ │ ├── classes_73.html │ │ ├── classes_74.html │ │ ├── classes_75.html │ │ ├── defines_63.html │ │ ├── defines_65.html │ │ ├── defines_67.html │ │ ├── defines_68.html │ │ ├── defines_6d.html │ │ ├── defines_6e.html │ │ ├── defines_6f.html │ │ ├── defines_72.html │ │ ├── defines_73.html │ │ ├── defines_75.html │ │ ├── typedefs_62.html │ │ ├── typedefs_68.html │ │ ├── enumvalues_64.html │ │ ├── functions_63.html │ │ ├── functions_65.html │ │ ├── functions_67.html │ │ ├── functions_68.html │ │ ├── functions_69.html │ │ ├── functions_6d.html │ │ ├── functions_6e.html │ │ ├── functions_70.html │ │ ├── functions_72.html │ │ ├── functions_73.html │ │ ├── functions_74.html │ │ ├── functions_77.html │ │ ├── variables_61.html │ │ ├── variables_62.html │ │ ├── variables_63.html │ │ ├── variables_64.html │ │ ├── variables_65.html │ │ ├── variables_67.html │ │ ├── variables_68.html │ │ ├── variables_69.html │ │ ├── variables_6c.html │ │ ├── variables_6d.html │ │ ├── variables_6e.html │ │ ├── variables_70.html │ │ ├── variables_72.html │ │ ├── variables_73.html │ │ ├── variables_75.html │ │ ├── variables_76.html │ │ ├── variables_73.js │ │ ├── all_75.js │ │ ├── all_69.js │ │ ├── all_64.js │ │ ├── all_65.js │ │ ├── all_72.js │ │ ├── functions_67.js │ │ ├── functions_73.js │ │ └── all_67.js │ ├── ftv2folderclosed.png │ ├── ftv2folderopen.png │ ├── struct_g_p_pin_def.js │ ├── struct_g_p_pin.js │ ├── struct_external_interrupt_pin_status_def.js │ ├── structhid__device__.js │ ├── files.js │ ├── struct_s_p_i_data_transfer_status_def.js │ ├── struct_manufacturer_product_name_def.js │ ├── struct_chip_status_def.js │ ├── struct_u_s_b_manufacturer_product_name_def.js │ ├── mcp2210test_8cpp.js │ ├── struct_chip_settings_def.js │ ├── struct_u_s_b_key_parameters_def.js │ ├── struct_s_p_i_transfer_settings_def.js │ ├── annotated.js │ ├── structhid__device__info.js │ ├── navtreeindex.js │ ├── tabs.css │ ├── hidapi_8h.js │ ├── navtree.css │ ├── mcp2210_8cpp.js │ ├── resize.js │ ├── hid_8c.js │ └── installdox └── latex │ ├── _8dep_8inc.tex │ ├── modules.tex │ ├── structtest.tex │ ├── Makefile │ ├── files.tex │ ├── annotated.tex │ ├── struct_g_p_pin_def.tex │ ├── structhid__device__.tex │ ├── struct_external_interrupt_pin_status_def.tex │ ├── struct_g_p_pin.tex │ ├── refman.tex │ ├── struct_s_p_i_data_transfer_status_def.tex │ ├── struct_manufacturer_product_name_def.tex │ └── struct_chip_status_def.tex ├── nbproject ├── private │ ├── Makefile-variables.mk │ ├── private.xml │ └── configurations.xml ├── project.xml ├── Makefile-variables.mk ├── Package-Debug.bash ├── Package-Release.bash ├── Makefile-Debug.mk ├── Makefile-Release.mk └── configurations.xml ├── .dep.inc ├── .gitignore ├── README.md ├── 99-hid.rules └── Makefile /doc/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/bc_s.png -------------------------------------------------------------------------------- /doc/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/closed.png -------------------------------------------------------------------------------- /doc/html/modules.js: -------------------------------------------------------------------------------- 1 | var modules = 2 | [ 3 | [ "hidapi API", "group___a_p_i.html", null ] 4 | ]; -------------------------------------------------------------------------------- /doc/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/nav_f.png -------------------------------------------------------------------------------- /doc/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/nav_h.png -------------------------------------------------------------------------------- /doc/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/open.png -------------------------------------------------------------------------------- /doc/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/tab_a.png -------------------------------------------------------------------------------- /doc/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/tab_b.png -------------------------------------------------------------------------------- /doc/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/tab_h.png -------------------------------------------------------------------------------- /doc/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/tab_s.png -------------------------------------------------------------------------------- /doc/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/doxygen.png -------------------------------------------------------------------------------- /doc/html/ftv2doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2doc.png -------------------------------------------------------------------------------- /doc/html/ftv2link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2link.png -------------------------------------------------------------------------------- /doc/html/ftv2node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2node.png -------------------------------------------------------------------------------- /doc/html/ftv2blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2blank.png -------------------------------------------------------------------------------- /doc/html/ftv2mnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2mnode.png -------------------------------------------------------------------------------- /doc/html/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2pnode.png -------------------------------------------------------------------------------- /doc/html/ftv2lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2lastnode.png -------------------------------------------------------------------------------- /doc/html/ftv2mlastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2mlastnode.png -------------------------------------------------------------------------------- /doc/html/ftv2plastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2plastnode.png -------------------------------------------------------------------------------- /doc/html/ftv2splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2splitbar.png -------------------------------------------------------------------------------- /doc/html/ftv2vertline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2vertline.png -------------------------------------------------------------------------------- /doc/html/search/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/search/close.png -------------------------------------------------------------------------------- /doc/html/ftv2folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2folderclosed.png -------------------------------------------------------------------------------- /doc/html/ftv2folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/ftv2folderopen.png -------------------------------------------------------------------------------- /doc/html/search/classes_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['test',['test',['../structtest.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/mag_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/search/mag_sel.png -------------------------------------------------------------------------------- /doc/html/search/search_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/search/search_l.png -------------------------------------------------------------------------------- /doc/html/search/search_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/search/search_m.png -------------------------------------------------------------------------------- /doc/html/search/search_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mobizt/MCP2210-Library/master/doc/html/search/search_r.png -------------------------------------------------------------------------------- /doc/html/search/typedefs_62.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['byte',['byte',['../mcp2210_8h.html#ab8ef12fab634c171394422d0ee8baf94',1,'mcp2210.h']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/latex/_8dep_8inc.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{_8dep_8inc}{\section{.dep.\-inc \-File \-Reference} 2 | \label{_8dep_8inc}\index{.\-dep.\-inc@{.\-dep.\-inc}} 3 | } 4 | -------------------------------------------------------------------------------- /nbproject/private/Makefile-variables.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Generated - do not edit! 3 | # 4 | # NOCDDL 5 | # 6 | # Debug configuration 7 | # Release configuration 8 | -------------------------------------------------------------------------------- /doc/html/search/classes_75.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['usbkeyparametersdef',['USBKeyParametersDef',['../struct_u_s_b_key_parameters_def.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /.dep.inc: -------------------------------------------------------------------------------- 1 | # This code depends on make tool being used 2 | DEPFILES=$(wildcard $(addsuffix .d, ${OBJECTFILES})) 3 | ifneq (${DEPFILES},) 4 | include ${DEPFILES} 5 | endif 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_6d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['main',['main',['../mcp2210test_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'mcp2210test.cpp']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['hid_5fdevice',['hid_device',['../hidapi_8h.html#aa6da74d5686d198dd3e5440e60088fcc',1,'hidapi.h']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/enums_64.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['device_5fstring_5fid',['device_string_id',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007',1,'hid.c']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/files_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['hid_2ec',['hid.c',['../hid_8c.html',1,'']]], 4 | ['hidapi_2eh',['hidapi.h',['../hidapi_8h.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_6e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['new_5fhid_5fdevice',['new_hid_device',['../hid_8c.html#a4a51eff11e6b5e81700d8a2f85267d5f',1,'hid.c']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/functions_70.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['parse_5fuevent_5finfo',['parse_uevent_info',['../hid_8c.html#a8231475fac4a08db9dd6da86a5355acf',1,'hid.c']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/all_6f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['operation_5fsuccessful',['OPERATION_SUCCESSFUL',['../mcp2210_8h.html#af5a2e173b812bdbc8a1bc505534bb705',1,'mcp2210.h']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_6d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['manufacturerproductnamedef',['ManufacturerProductNameDef',['../struct_manufacturer_product_name_def.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_67.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['gppin',['GPPin',['../struct_g_p_pin.html',1,'']]], 4 | ['gppindef',['GPPinDef',['../struct_g_p_pin_def.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/defines_6f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['operation_5fsuccessful',['OPERATION_SUCCESSFUL',['../mcp2210_8h.html#af5a2e173b812bdbc8a1bc505534bb705',1,'mcp2210.h']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_65.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['externalinterruptpinstatusdef',['ExternalInterruptPinStatusDef',['../struct_external_interrupt_pin_status_def.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/defines_6e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['no_5finterrupt_5fcounting',['NO_INTERRUPT_COUNTING',['../mcp2210_8h.html#af22176336124f881aa4a568504b7830d',1,'mcp2210.h']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/defines_75.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['usb_5fstring_5fdescriptor_5fid',['USB_STRING_DESCRIPTOR_ID',['../mcp2210_8h.html#ae0075029a6d3c961364eb1aeea474153',1,'mcp2210.h']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['hostpowered',['HostPowered',['../struct_u_s_b_key_parameters_def.html#a49d44f9a0d7bd72369090932dee48323',1,'USBKeyParametersDef']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/latex/modules.tex: -------------------------------------------------------------------------------- 1 | \section{\-Modules} 2 | \-Here is a list of all modules\-:\begin{DoxyCompactList} 3 | \item \contentsline{section}{hidapi \-A\-P\-I}{\pageref{group___a_p_i}}{} 4 | \end{DoxyCompactList} 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_63.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['cstodatadelay',['CSToDataDelay',['../struct_s_p_i_transfer_settings_def.html#a0e6381f4d265cb73a9589f5e1ba695cf',1,'SPITransferSettingsDef']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/all_6c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lastdatabytetocsdelay',['LastDataByteToCSDelay',['../struct_s_p_i_transfer_settings_def.html#a5c05d83e86f6d4cb9437d00a4c7a38a2',1,'SPITransferSettingsDef']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/classes_63.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['chipsettingsdef',['ChipSettingsDef',['../struct_chip_settings_def.html',1,'']]], 4 | ['chipstatusdef',['ChipStatusDef',['../struct_chip_status_def.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/classes_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['hid_5fdevice_5f',['hid_device_',['../structhid__device__.html',1,'']]], 4 | ['hid_5fdevice_5finfo',['hid_device_info',['../structhid__device__info.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/variables_6c.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['lastdatabytetocsdelay',['LastDataByteToCSDelay',['../struct_s_p_i_transfer_settings_def.html#a5c05d83e86f6d4cb9437d00a4c7a38a2',1,'SPITransferSettingsDef']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/struct_g_p_pin_def.js: -------------------------------------------------------------------------------- 1 | var struct_g_p_pin_def = 2 | [ 3 | [ "ErrorCode", "struct_g_p_pin_def.html#aec1b783e71959f2715543127bf6ed164", null ], 4 | [ "GP", "struct_g_p_pin_def.html#a5274d0e49d1ec54865a419b2ef722d32", null ] 5 | ]; -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files 2 | *.slo 3 | *.lo 4 | *.o 5 | 6 | # Compiled Dynamic libraries 7 | *.so 8 | 9 | # Compiled Static libraries 10 | *.lai 11 | *.la 12 | *.a 13 | *~ 14 | build 15 | dist 16 | doxygen 17 | gitcmd.txt 18 | .gitignore 19 | -------------------------------------------------------------------------------- /doc/html/search/files_6d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['mcp2210_2ecpp',['mcp2210.cpp',['../mcp2210_8cpp.html',1,'']]], 4 | ['mcp2210_2eh',['mcp2210.h',['../mcp2210_8h.html',1,'']]], 5 | ['mcp2210test_2ecpp',['mcp2210test.cpp',['../mcp2210test_8cpp.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/defines_6d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['mcp2210_5fpid',['MCP2210_PID',['../mcp2210_8h.html#a1fcd3059a678640e1ea1f7f83a4dc9e9',1,'mcp2210.h']]], 4 | ['mcp2210_5fvid',['MCP2210_VID',['../mcp2210_8h.html#a48c00ece206fdfe72edfb18ef6c72769',1,'mcp2210.h']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/classes_73.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['spidatatransferstatusdef',['SPIDataTransferStatusDef',['../struct_s_p_i_data_transfer_status_def.html',1,'']]], 4 | ['spitransfersettingsdef',['SPITransferSettingsDef',['../struct_s_p_i_transfer_settings_def.html',1,'']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/all_76.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['vendor_5fid',['vendor_id',['../structhid__device__info.html#a5037a3914e0bd8a3f821d1be9376c709',1,'hid_device_info']]], 4 | ['vid',['VID',['../struct_u_s_b_key_parameters_def.html#a35d04341dee0696d60990dfe9b066835',1,'USBKeyParametersDef']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_65.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['enumeratemcp2210',['EnumerateMCP2210',['../mcp2210_8cpp.html#a0b3fb01a244efdc3126f2646553aeb3d',1,'EnumerateMCP2210(): mcp2210.cpp'],['../mcp2210_8h.html#a0b3fb01a244efdc3126f2646553aeb3d',1,'EnumerateMCP2210(): mcp2210.cpp']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_76.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['vendor_5fid',['vendor_id',['../structhid__device__info.html#a5037a3914e0bd8a3f821d1be9376c709',1,'hid_device_info']]], 4 | ['vid',['VID',['../struct_u_s_b_key_parameters_def.html#a35d04341dee0696d60990dfe9b066835',1,'USBKeyParametersDef']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/struct_g_p_pin.js: -------------------------------------------------------------------------------- 1 | var struct_g_p_pin = 2 | [ 3 | [ "GPIODirection", "struct_g_p_pin.html#a67735613380d11c71a1a447c7459bc6d", null ], 4 | [ "GPIOOutput", "struct_g_p_pin.html#a1fffec9bada958b64937f51655c569e4", null ], 5 | [ "PinDesignation", "struct_g_p_pin.html#a3d0225b44b50d426354e47851f246ab9", null ] 6 | ]; -------------------------------------------------------------------------------- /doc/html/struct_external_interrupt_pin_status_def.js: -------------------------------------------------------------------------------- 1 | var struct_external_interrupt_pin_status_def = 2 | [ 3 | [ "ErrorCode", "struct_external_interrupt_pin_status_def.html#a94be603e5e321af81780d4a0583cea46", null ], 4 | [ "InterruptEventCounter", "struct_external_interrupt_pin_status_def.html#a2aeec5fdeb39f15ad2a15cc7a229de9e", null ] 5 | ]; -------------------------------------------------------------------------------- /doc/html/search/all_77.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['writeeeprom',['WriteEEPROM',['../mcp2210_8cpp.html#a67f5920bb156bf436f7afbf92528dc37',1,'WriteEEPROM(hid_device *handle, byte addr, byte val): mcp2210.cpp'],['../mcp2210_8h.html#a67f5920bb156bf436f7afbf92528dc37',1,'WriteEEPROM(hid_device *handle, byte addr, byte val): mcp2210.cpp']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/structhid__device__.js: -------------------------------------------------------------------------------- 1 | var structhid__device__ = 2 | [ 3 | [ "blocking", "structhid__device__.html#ae4a8b40297f31863df3133637cfa2121", null ], 4 | [ "device_handle", "structhid__device__.html#acbcc48ecdd887f36390da3bb05a6d5d5", null ], 5 | [ "uses_numbered_reports", "structhid__device__.html#a58ed6252074ed422235fe9e0c48aeafe", null ] 6 | ]; -------------------------------------------------------------------------------- /doc/html/search/all_61.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['activechipselectvalue',['ActiveChipSelectValue',['../struct_s_p_i_transfer_settings_def.html#a32134013c1180fc4ddcfa42b9e1aeed0',1,'SPITransferSettingsDef']]], 4 | ['attemptedpwdaccesses',['AttemptedPWDAccesses',['../struct_chip_status_def.html#a775f8cb07137f324ce59e7bbc961fd55',1,'ChipStatusDef']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/functions_77.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['writeeeprom',['WriteEEPROM',['../mcp2210_8cpp.html#a67f5920bb156bf436f7afbf92528dc37',1,'WriteEEPROM(hid_device *handle, byte addr, byte val): mcp2210.cpp'],['../mcp2210_8h.html#a67f5920bb156bf436f7afbf92528dc37',1,'WriteEEPROM(hid_device *handle, byte addr, byte val): mcp2210.cpp']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/search/variables_61.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['activechipselectvalue',['ActiveChipSelectValue',['../struct_s_p_i_transfer_settings_def.html#a32134013c1180fc4ddcfa42b9e1aeed0',1,'SPITransferSettingsDef']]], 4 | ['attemptedpwdaccesses',['AttemptedPWDAccesses',['../struct_chip_status_def.html#a775f8cb07137f324ce59e7bbc961fd55',1,'ChipStatusDef']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/files.js: -------------------------------------------------------------------------------- 1 | var files = 2 | [ 3 | [ ".dep.inc", "_8dep_8inc.html", null ], 4 | [ "hid.c", "hid_8c.html", "hid_8c" ], 5 | [ "hidapi.h", "hidapi_8h.html", "hidapi_8h" ], 6 | [ "mcp2210.cpp", "mcp2210_8cpp.html", "mcp2210_8cpp" ], 7 | [ "mcp2210.h", "mcp2210_8h.html", "mcp2210_8h" ], 8 | [ "mcp2210test.cpp", "mcp2210test_8cpp.html", "mcp2210test_8cpp" ] 9 | ]; -------------------------------------------------------------------------------- /doc/html/search/variables_6d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['manufacturer_5fstring',['manufacturer_string',['../structhid__device__info.html#a484eebf746220cd2910954cc861759b7',1,'hid_device_info']]], 4 | ['manufacturerproductname',['ManufacturerProductName',['../struct_manufacturer_product_name_def.html#ae0bc4c8cdce9488bdb26da7850e7fe84',1,'ManufacturerProductNameDef']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /doc/html/search/defines_72.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['remote_5fwakeup_5fdisabled',['REMOTE_WAKEUP_DISABLED',['../mcp2210_8h.html#abe84dfa63d6452c1c2c5419a0fee5bb5',1,'mcp2210.h']]], 4 | ['remote_5fwaveup_5fenabled',['REMOTE_WAVEUP_ENABLED',['../mcp2210_8h.html#af57f368b1074b61d4e722391119927d6',1,'mcp2210.h']]], 5 | ['response_5fbuffer_5flength',['RESPONSE_BUFFER_LENGTH',['../mcp2210_8h.html#ae418247dcaca196cfa54fc77a19d591f',1,'mcp2210.h']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/functions_63.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['cancelspitransfer',['CancelSPITransfer',['../mcp2210_8cpp.html#abf54ce25e056b5fa2e0df30d632aa850',1,'CancelSPITransfer(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#abf54ce25e056b5fa2e0df30d632aa850',1,'CancelSPITransfer(hid_device *handle): mcp2210.cpp']]], 4 | ['copy_5fudev_5fstring',['copy_udev_string',['../hid_8c.html#abae9df0dc1e8130854ede76fcf131b8f',1,'hid.c']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 1 5 | 0 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /doc/html/search/variables_62.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['bitrate',['BitRate',['../struct_s_p_i_transfer_settings_def.html#a63e79a7391c75e2f16ff51a73fd23638',1,'SPITransferSettingsDef']]], 4 | ['blocking',['blocking',['../structhid__device__.html#ae4a8b40297f31863df3133637cfa2121',1,'hid_device_']]], 5 | ['bytesperspitransfer',['BytesPerSPITransfer',['../struct_s_p_i_transfer_settings_def.html#a7f24f8717153d307d02780a27f5bf5dd',1,'SPITransferSettingsDef']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/variables_67.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['gp',['GP',['../struct_chip_settings_def.html#aea8065ee4c940dcbde93dd1633c63f38',1,'ChipSettingsDef::GP()'],['../struct_g_p_pin_def.html#a5274d0e49d1ec54865a419b2ef722d32',1,'GPPinDef::GP()']]], 4 | ['gpiodirection',['GPIODirection',['../struct_g_p_pin.html#a67735613380d11c71a1a447c7459bc6d',1,'GPPin']]], 5 | ['gpiooutput',['GPIOOutput',['../struct_g_p_pin.html#a1fffec9bada958b64937f51655c569e4',1,'GPPin']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/latex/structtest.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{structtest}{\section{test \-Struct \-Reference} 2 | \label{structtest}\index{test@{test}} 3 | } 4 | 5 | 6 | {\ttfamily \#include $<$mcp2210.\-h$>$} 7 | 8 | 9 | 10 | \subsection{\-Detailed \-Description} 11 | \-General purpose pin definition 12 | 13 | \-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} 14 | \item 15 | \hyperlink{mcp2210_8h}{mcp2210.\-h}\end{DoxyCompactItemize} 16 | -------------------------------------------------------------------------------- /doc/html/search/variables_6e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['next',['next',['../structhid__device__info.html#a2bfebc240baf3bdaf03965816e11f149',1,'hid_device_info']]], 4 | ['numberofbytesreceived',['NumberOfBytesReceived',['../struct_s_p_i_data_transfer_status_def.html#a98b49f5e7b7da8d8785c3d4a98a67449',1,'SPIDataTransferStatusDef']]], 5 | ['nvramchipparamaccesscontrol',['NVRamChipParamAccessControl',['../struct_chip_settings_def.html#a56bcb330a04c9b6b108ee63ce635c92d',1,'ChipSettingsDef']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/defines_73.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['spi_5fstatus_5ffinished_5fno_5fdata_5fto_5fsend',['SPI_STATUS_FINISHED_NO_DATA_TO_SEND',['../mcp2210_8h.html#a239de9f10112b514560b093978f95734',1,'mcp2210.h']]], 4 | ['spi_5fstatus_5fstarted_5fno_5fdata_5fto_5freceive',['SPI_STATUS_STARTED_NO_DATA_TO_RECEIVE',['../mcp2210_8h.html#af8fa0a51c85ba6f7d77f50e363a4b8de',1,'mcp2210.h']]], 5 | ['spi_5fstatus_5fsuccessful',['SPI_STATUS_SUCCESSFUL',['../mcp2210_8h.html#adf038bac4ab1195954a3c12578c2056e',1,'mcp2210.h']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/variables_69.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['idlechipselectvalue',['IdleChipSelectValue',['../struct_s_p_i_transfer_settings_def.html#a2f469778bc45bfaae06c0779c53457a9',1,'SPITransferSettingsDef']]], 4 | ['interface_5fnumber',['interface_number',['../structhid__device__info.html#a9163d8d5d7db8dc47bddfaf876e17547',1,'hid_device_info']]], 5 | ['interrupteventcounter',['InterruptEventCounter',['../struct_external_interrupt_pin_status_def.html#a2aeec5fdeb39f15ad2a15cc7a229de9e',1,'ExternalInterruptPinStatusDef']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /doc/html/search/nomatches.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
No Matches
10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /doc/html/search/all_62.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['bitrate',['BitRate',['../struct_s_p_i_transfer_settings_def.html#a63e79a7391c75e2f16ff51a73fd23638',1,'SPITransferSettingsDef']]], 4 | ['blocking',['blocking',['../structhid__device__.html#ae4a8b40297f31863df3133637cfa2121',1,'hid_device_']]], 5 | ['byte',['byte',['../mcp2210_8h.html#ab8ef12fab634c171394422d0ee8baf94',1,'mcp2210.h']]], 6 | ['bytesperspitransfer',['BytesPerSPITransfer',['../struct_s_p_i_transfer_settings_def.html#a7f24f8717153d307d02780a27f5bf5dd',1,'SPITransferSettingsDef']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/struct_s_p_i_data_transfer_status_def.js: -------------------------------------------------------------------------------- 1 | var struct_s_p_i_data_transfer_status_def = 2 | [ 3 | [ "DataReceived", "struct_s_p_i_data_transfer_status_def.html#a6376a62c46b37059a74995cc4ba567b3", null ], 4 | [ "ErrorCode", "struct_s_p_i_data_transfer_status_def.html#a202e947d5055ae583859ab2b1dddaede", null ], 5 | [ "NumberOfBytesReceived", "struct_s_p_i_data_transfer_status_def.html#a98b49f5e7b7da8d8785c3d4a98a67449", null ], 6 | [ "SPIEngineStatus", "struct_s_p_i_data_transfer_status_def.html#a4a2227f2a2c87291d918a9a3f39c5d55", null ] 7 | ]; -------------------------------------------------------------------------------- /doc/latex/Makefile: -------------------------------------------------------------------------------- 1 | all: refman.pdf 2 | 3 | pdf: refman.pdf 4 | 5 | refman.pdf: clean refman.tex 6 | pdflatex refman 7 | makeindex refman.tex 8 | pdflatex refman 9 | latex_count=5 ; \ 10 | while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ 11 | do \ 12 | echo "Rerunning latex...." ;\ 13 | pdflatex refman ;\ 14 | latex_count=`expr $$latex_count - 1` ;\ 15 | done 16 | 17 | 18 | clean: 19 | rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf 20 | -------------------------------------------------------------------------------- /doc/html/struct_manufacturer_product_name_def.js: -------------------------------------------------------------------------------- 1 | var struct_manufacturer_product_name_def = 2 | [ 3 | [ "ErrorCode", "struct_manufacturer_product_name_def.html#a826000ba27e897acf51b987c78d62861", null ], 4 | [ "ManufacturerProductName", "struct_manufacturer_product_name_def.html#ae0bc4c8cdce9488bdb26da7850e7fe84", null ], 5 | [ "USBStringDescriptorID", "struct_manufacturer_product_name_def.html#a338f0d675fb05fabd7654239ca9b878d", null ], 6 | [ "USBStringDescriptorLength", "struct_manufacturer_product_name_def.html#a78178464ccb77610a03691701cca017e", null ] 7 | ]; -------------------------------------------------------------------------------- /doc/html/struct_chip_status_def.js: -------------------------------------------------------------------------------- 1 | var struct_chip_status_def = 2 | [ 3 | [ "AttemptedPWDAccesses", "struct_chip_status_def.html#a775f8cb07137f324ce59e7bbc961fd55", null ], 4 | [ "ErrorCode", "struct_chip_status_def.html#ab359484a0244ec153c49f0af23c2d29b", null ], 5 | [ "PasswordGuessed", "struct_chip_status_def.html#ae83bf4d444de30c1a451f9aef7ce4d6f", null ], 6 | [ "SPIBusCurrentOwner", "struct_chip_status_def.html#ac8d8808a7cf921e77831dc4e30e8d096", null ], 7 | [ "SPIBusReleaseExtReqStat", "struct_chip_status_def.html#ac1422f04b7345187a77b5d506dc8a492", null ] 8 | ]; -------------------------------------------------------------------------------- /doc/html/struct_u_s_b_manufacturer_product_name_def.js: -------------------------------------------------------------------------------- 1 | var struct_u_s_b_manufacturer_product_name_def = 2 | [ 3 | [ "ErrorCode", "struct_u_s_b_manufacturer_product_name_def.html#acdb38e1f079bea85d75f688033e913b1", null ], 4 | [ "ManufacturerProductName", "struct_u_s_b_manufacturer_product_name_def.html#a5ee96141e688b5dbe654fb4d868ece8b", null ], 5 | [ "USBStringDescriptorID", "struct_u_s_b_manufacturer_product_name_def.html#ae409e58b5ea1d4e324a85479f8a2af1e", null ], 6 | [ "USBStringDescriptorLength", "struct_u_s_b_manufacturer_product_name_def.html#a652bd4d49243f3af5c11683e71f602b5", null ] 7 | ]; -------------------------------------------------------------------------------- /doc/html/search/defines_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['hid_5fapi_5fcall',['HID_API_CALL',['../hidapi_8h.html#af140a25716604e86096670a505a58ee0',1,'hidapi.h']]], 4 | ['hid_5fapi_5fexport',['HID_API_EXPORT',['../hidapi_8h.html#aa60150016800ccb88fdf140e8553ae13',1,'hidapi.h']]], 5 | ['hid_5fapi_5fexport_5fcall',['HID_API_EXPORT_CALL',['../hidapi_8h.html#a70c49eda5025c1bc455af77da19ca312',1,'hidapi.h']]], 6 | ['hidiocgfeature',['HIDIOCGFEATURE',['../hid_8c.html#ac5092480a5db624163f7b66847e42a70',1,'hid.c']]], 7 | ['hidiocsfeature',['HIDIOCSFEATURE',['../hid_8c.html#a03f650125c34f865b2ce0761095dcec9',1,'hid.c']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/variables_64.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['datareceived',['DataReceived',['../struct_s_p_i_data_transfer_status_def.html#a6376a62c46b37059a74995cc4ba567b3',1,'SPIDataTransferStatusDef']]], 4 | ['dedicatedfunctioninterruptpinmode',['DedicatedFunctionInterruptPinMode',['../struct_chip_settings_def.html#af61e2aaa5bcf3284abd4554d2be88002',1,'ChipSettingsDef']]], 5 | ['device_5fhandle',['device_handle',['../structhid__device__.html#acbcc48ecdd887f36390da3bb05a6d5d5',1,'hid_device_']]], 6 | ['device_5fstring_5fnames',['device_string_names',['../hid_8c.html#a0ca67dd1130adb839438e3ae0990e952',1,'hid.c']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/defines_65.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['error_5finvalid_5fdevice_5fhandle',['ERROR_INVALID_DEVICE_HANDLE',['../mcp2210_8h.html#a60ec41154df53aafaee186316dc51146',1,'mcp2210.h']]], 4 | ['error_5funable_5fto_5fopen_5fdevice',['ERROR_UNABLE_TO_OPEN_DEVICE',['../mcp2210_8h.html#a4deeabd750e9bdd57f4770f89793e37e',1,'mcp2210.h']]], 5 | ['error_5funable_5fto_5fread_5ffrom_5fdevice',['ERROR_UNABLE_TO_READ_FROM_DEVICE',['../mcp2210_8h.html#a4cc9cd91d1a74df9224d931fcca8f7fa',1,'mcp2210.h']]], 6 | ['error_5funable_5fto_5fwrite_5fto_5fdevice',['ERROR_UNABLE_TO_WRITE_TO_DEVICE',['../mcp2210_8h.html#aaad991bdf4e465eb65a7a075dc0f8ab6',1,'mcp2210.h']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/variables_72.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['release_5fnumber',['release_number',['../structhid__device__info.html#a6a832d25260f7ec17ef008e53e50e1d0',1,'hid_device_info']]], 4 | ['remotewakeupcapable',['RemoteWakeupCapable',['../struct_u_s_b_key_parameters_def.html#ab03b4a5fd9b6f7c1e8b5b10a02a2496d',1,'USBKeyParametersDef']]], 5 | ['remotewakeupenabled',['RemoteWakeUpEnabled',['../struct_chip_settings_def.html#a5a29397e3fd6793de5d8d348b3b11d22',1,'ChipSettingsDef']]], 6 | ['requestedcurrentamountfromhost',['RequestedCurrentAmountFromHost',['../struct_u_s_b_key_parameters_def.html#a37e6e0ff7720d067ea185fd9b19d0ba8',1,'USBKeyParametersDef']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/mcp2210test_8cpp.js: -------------------------------------------------------------------------------- 1 | var mcp2210test_8cpp = 2 | [ 3 | [ "main", "mcp2210test_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ], 4 | [ "Test25LC020A", "mcp2210test_8cpp.html#ad6267824b1788691bb6f2ded9e5f808d", null ], 5 | [ "TestGPIO", "mcp2210test_8cpp.html#a83e0584577191d7a713a51caf092e15a", null ], 6 | [ "TestMCP23S08", "mcp2210test_8cpp.html#ab2e9361f5f16dcd7d0858e8276042338", null ], 7 | [ "TestMCP3204", "mcp2210test_8cpp.html#a85379a7d1454897250386c4255991734", null ], 8 | [ "TestMisc", "mcp2210test_8cpp.html#a2103aa7c9eefc74cf38aa93cbaae6a97", null ], 9 | [ "TestTC77", "mcp2210test_8cpp.html#acc5b4398578b6a5b0524fb884ac99de4", null ] 10 | ]; -------------------------------------------------------------------------------- /doc/html/search/enumvalues_64.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['device_5fstring_5fcount',['DEVICE_STRING_COUNT',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007a5114857ab5e188582f278af5bb3b1231',1,'hid.c']]], 4 | ['device_5fstring_5fmanufacturer',['DEVICE_STRING_MANUFACTURER',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007a57493cd7979c4138e430e46e7038f656',1,'hid.c']]], 5 | ['device_5fstring_5fproduct',['DEVICE_STRING_PRODUCT',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007a99aea612d2426e6342025ba6a151da89',1,'hid.c']]], 6 | ['device_5fstring_5fserial',['DEVICE_STRING_SERIAL',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007a28584a42df67ec8d8b86234c9c576fad',1,'hid.c']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/latex/files.tex: -------------------------------------------------------------------------------- 1 | \section{\-File \-List} 2 | \-Here is a list of all files with brief descriptions\-:\begin{DoxyCompactList} 3 | \item\contentsline{section}{\hyperlink{_8dep_8inc}{.\-dep.\-inc} }{\pageref{_8dep_8inc}}{} 4 | \item\contentsline{section}{\hyperlink{hid_8c}{hid.\-c} }{\pageref{hid_8c}}{} 5 | \item\contentsline{section}{\hyperlink{hidapi_8h}{hidapi.\-h} }{\pageref{hidapi_8h}}{} 6 | \item\contentsline{section}{\hyperlink{mcp2210_8cpp}{mcp2210.\-cpp} }{\pageref{mcp2210_8cpp}}{} 7 | \item\contentsline{section}{\hyperlink{mcp2210_8h}{mcp2210.\-h} }{\pageref{mcp2210_8h}}{} 8 | \item\contentsline{section}{\hyperlink{mcp2210test_8cpp}{mcp2210test.\-cpp} }{\pageref{mcp2210test_8cpp}}{} 9 | \end{DoxyCompactList} 10 | -------------------------------------------------------------------------------- /doc/html/search/all_6e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['new_5fhid_5fdevice',['new_hid_device',['../hid_8c.html#a4a51eff11e6b5e81700d8a2f85267d5f',1,'hid.c']]], 4 | ['next',['next',['../structhid__device__info.html#a2bfebc240baf3bdaf03965816e11f149',1,'hid_device_info']]], 5 | ['no_5finterrupt_5fcounting',['NO_INTERRUPT_COUNTING',['../mcp2210_8h.html#af22176336124f881aa4a568504b7830d',1,'mcp2210.h']]], 6 | ['numberofbytesreceived',['NumberOfBytesReceived',['../struct_s_p_i_data_transfer_status_def.html#a98b49f5e7b7da8d8785c3d4a98a67449',1,'SPIDataTransferStatusDef']]], 7 | ['nvramchipparamaccesscontrol',['NVRamChipParamAccessControl',['../struct_chip_settings_def.html#a56bcb330a04c9b6b108ee63ce635c92d',1,'ChipSettingsDef']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/defines_67.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['gp_5fpin_5fdesignation_5fcs',['GP_PIN_DESIGNATION_CS',['../mcp2210_8h.html#a4db8c0b9f67bc098ea64f40d264476ab',1,'mcp2210.h']]], 4 | ['gp_5fpin_5fdesignation_5fdedicated',['GP_PIN_DESIGNATION_DEDICATED',['../mcp2210_8h.html#a49a91a96db0edf5d80e2cb72deb7c3c7',1,'mcp2210.h']]], 5 | ['gp_5fpin_5fdesignation_5fgpio',['GP_PIN_DESIGNATION_GPIO',['../mcp2210_8h.html#a4b4eebf230a61a69257570c1c511b9ab',1,'mcp2210.h']]], 6 | ['gpio_5fdirection_5finput',['GPIO_DIRECTION_INPUT',['../mcp2210_8h.html#a2424a0689fe07d992bec1a7840942613',1,'mcp2210.h']]], 7 | ['gpio_5fdirection_5foutput',['GPIO_DIRECTION_OUTPUT',['../mcp2210_8h.html#ad5672af51b60e9c00ffa9850feb75e37',1,'mcp2210.h']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/search/all_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['test25lc020a',['Test25LC020A',['../mcp2210test_8cpp.html#ad6267824b1788691bb6f2ded9e5f808d',1,'mcp2210test.cpp']]], 4 | ['testgpio',['TestGPIO',['../mcp2210test_8cpp.html#a83e0584577191d7a713a51caf092e15a',1,'mcp2210test.cpp']]], 5 | ['testmcp23s08',['TestMCP23S08',['../mcp2210test_8cpp.html#ab2e9361f5f16dcd7d0858e8276042338',1,'mcp2210test.cpp']]], 6 | ['testmcp3204',['TestMCP3204',['../mcp2210test_8cpp.html#a85379a7d1454897250386c4255991734',1,'mcp2210test.cpp']]], 7 | ['testmisc',['TestMisc',['../mcp2210test_8cpp.html#a2103aa7c9eefc74cf38aa93cbaae6a97',1,'mcp2210test.cpp']]], 8 | ['testtc77',['TestTC77',['../mcp2210test_8cpp.html#acc5b4398578b6a5b0524fb884ac99de4',1,'mcp2210test.cpp']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /doc/html/search/functions_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['test25lc020a',['Test25LC020A',['../mcp2210test_8cpp.html#ad6267824b1788691bb6f2ded9e5f808d',1,'mcp2210test.cpp']]], 4 | ['testgpio',['TestGPIO',['../mcp2210test_8cpp.html#a83e0584577191d7a713a51caf092e15a',1,'mcp2210test.cpp']]], 5 | ['testmcp23s08',['TestMCP23S08',['../mcp2210test_8cpp.html#ab2e9361f5f16dcd7d0858e8276042338',1,'mcp2210test.cpp']]], 6 | ['testmcp3204',['TestMCP3204',['../mcp2210test_8cpp.html#a85379a7d1454897250386c4255991734',1,'mcp2210test.cpp']]], 7 | ['testmisc',['TestMisc',['../mcp2210test_8cpp.html#a2103aa7c9eefc74cf38aa93cbaae6a97',1,'mcp2210test.cpp']]], 8 | ['testtc77',['TestTC77',['../mcp2210test_8cpp.html#acc5b4398578b6a5b0524fb884ac99de4',1,'mcp2210test.cpp']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /doc/html/search/variables_75.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['usage',['usage',['../structhid__device__info.html#a47f8011d58bcddd67f1403d6d3b4cab6',1,'hid_device_info']]], 4 | ['usage_5fpage',['usage_page',['../structhid__device__info.html#ab811117f8084ce2036815bdd33b16b3b',1,'hid_device_info']]], 5 | ['usbstringdescriptorid',['USBStringDescriptorID',['../struct_manufacturer_product_name_def.html#a338f0d675fb05fabd7654239ca9b878d',1,'ManufacturerProductNameDef']]], 6 | ['usbstringdescriptorlength',['USBStringDescriptorLength',['../struct_manufacturer_product_name_def.html#a78178464ccb77610a03691701cca017e',1,'ManufacturerProductNameDef']]], 7 | ['uses_5fnumbered_5freports',['uses_numbered_reports',['../structhid__device__.html#a58ed6252074ed422235fe9e0c48aeafe',1,'hid_device_']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /doc/html/struct_chip_settings_def.js: -------------------------------------------------------------------------------- 1 | var struct_chip_settings_def = 2 | [ 3 | [ "DedicatedFunctionInterruptPinMode", "struct_chip_settings_def.html#af61e2aaa5bcf3284abd4554d2be88002", null ], 4 | [ "ErrorCode", "struct_chip_settings_def.html#a711cd7ddde92dcfefaba6863b303ab3d", null ], 5 | [ "GP", "struct_chip_settings_def.html#aea8065ee4c940dcbde93dd1633c63f38", null ], 6 | [ "NVRamChipParamAccessControl", "struct_chip_settings_def.html#a56bcb330a04c9b6b108ee63ce635c92d", null ], 7 | [ "password", "struct_chip_settings_def.html#a0e9e9123c42b18bdd6294d0ae7935582", null ], 8 | [ "RemoteWakeUpEnabled", "struct_chip_settings_def.html#a5a29397e3fd6793de5d8d348b3b11d22", null ], 9 | [ "SPIBusReleaseMode", "struct_chip_settings_def.html#abeaf6785170c987a19025a506cf14a8d", null ] 10 | ]; -------------------------------------------------------------------------------- /doc/html/search/functions_69.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['initmcp2210',['InitMCP2210',['../mcp2210_8cpp.html#a8da62fe716bc4b1936d50fd0fca2116d',1,'InitMCP2210(unsigned short vid, unsigned short pid, wchar_t *serialNumber): mcp2210.cpp'],['../mcp2210_8cpp.html#ab81541af956be15df79c95f49b1803c3',1,'InitMCP2210(wchar_t *serialNumber): mcp2210.cpp'],['../mcp2210_8cpp.html#a73f677a660068a18a713c94bd6a76e60',1,'InitMCP2210(): mcp2210.cpp'],['../mcp2210_8h.html#a73f677a660068a18a713c94bd6a76e60',1,'InitMCP2210(): mcp2210.cpp'],['../mcp2210_8h.html#ab81541af956be15df79c95f49b1803c3',1,'InitMCP2210(wchar_t *serialNumber): mcp2210.cpp'],['../mcp2210_8h.html#a8da62fe716bc4b1936d50fd0fca2116d',1,'InitMCP2210(unsigned short vid, unsigned short pid, wchar_t *serialNumber): mcp2210.cpp']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /doc/html/struct_u_s_b_key_parameters_def.js: -------------------------------------------------------------------------------- 1 | var struct_u_s_b_key_parameters_def = 2 | [ 3 | [ "ErrorCode", "struct_u_s_b_key_parameters_def.html#aaaf11b677e036ff4847cc42bf891e786", null ], 4 | [ "HostPowered", "struct_u_s_b_key_parameters_def.html#a49d44f9a0d7bd72369090932dee48323", null ], 5 | [ "PID", "struct_u_s_b_key_parameters_def.html#af2a7b529b80b82c0933cc8ce38723e1e", null ], 6 | [ "RemoteWakeupCapable", "struct_u_s_b_key_parameters_def.html#ab03b4a5fd9b6f7c1e8b5b10a02a2496d", null ], 7 | [ "RequestedCurrentAmountFromHost", "struct_u_s_b_key_parameters_def.html#a37e6e0ff7720d067ea185fd9b19d0ba8", null ], 8 | [ "SelfPowered", "struct_u_s_b_key_parameters_def.html#aace169dc444713da0e0c0f5672d64bd0", null ], 9 | [ "VID", "struct_u_s_b_key_parameters_def.html#a35d04341dee0696d60990dfe9b066835", null ] 10 | ]; -------------------------------------------------------------------------------- /doc/html/search/variables_70.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['password',['password',['../struct_chip_settings_def.html#a0e9e9123c42b18bdd6294d0ae7935582',1,'ChipSettingsDef']]], 4 | ['passwordguessed',['PasswordGuessed',['../struct_chip_status_def.html#ae83bf4d444de30c1a451f9aef7ce4d6f',1,'ChipStatusDef']]], 5 | ['path',['path',['../structhid__device__info.html#a6384b5bf4d9583598e5f5a889f240921',1,'hid_device_info']]], 6 | ['pid',['PID',['../struct_u_s_b_key_parameters_def.html#af2a7b529b80b82c0933cc8ce38723e1e',1,'USBKeyParametersDef']]], 7 | ['pindesignation',['PinDesignation',['../struct_g_p_pin.html#a3d0225b44b50d426354e47851f246ab9',1,'GPPin']]], 8 | ['product_5fid',['product_id',['../structhid__device__info.html#a04595915457b4374492edb1fdb62d65d',1,'hid_device_info']]], 9 | ['product_5fstring',['product_string',['../structhid__device__info.html#aceee256b4f7cd7fdd9fa5d556f49d221',1,'hid_device_info']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /doc/html/search/variables_65.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['errorcode',['ErrorCode',['../struct_s_p_i_transfer_settings_def.html#a06e000b94a109cb22dd362ec768eedc7',1,'SPITransferSettingsDef::ErrorCode()'],['../struct_chip_settings_def.html#a711cd7ddde92dcfefaba6863b303ab3d',1,'ChipSettingsDef::ErrorCode()'],['../struct_u_s_b_key_parameters_def.html#aaaf11b677e036ff4847cc42bf891e786',1,'USBKeyParametersDef::ErrorCode()'],['../struct_manufacturer_product_name_def.html#a826000ba27e897acf51b987c78d62861',1,'ManufacturerProductNameDef::ErrorCode()'],['../struct_chip_status_def.html#ab359484a0244ec153c49f0af23c2d29b',1,'ChipStatusDef::ErrorCode()'],['../struct_s_p_i_data_transfer_status_def.html#a202e947d5055ae583859ab2b1dddaede',1,'SPIDataTransferStatusDef::ErrorCode()'],['../struct_external_interrupt_pin_status_def.html#a94be603e5e321af81780d4a0583cea46',1,'ExternalInterruptPinStatusDef::ErrorCode()'],['../struct_g_p_pin_def.html#aec1b783e71959f2715543127bf6ed164',1,'GPPinDef::ErrorCode()']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.cnd.makeproject 4 | 5 | 6 | HIDUSBTest 7 | c 8 | cpp 9 | h 10 | UTF-8 11 | 12 | 13 | 14 | 15 | Debug 16 | 1 17 | 18 | 19 | Release 20 | 1 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_6d.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['main',['main',['../mcp2210test_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627',1,'mcp2210test.cpp']]], 4 | ['manufacturer_5fstring',['manufacturer_string',['../structhid__device__info.html#a484eebf746220cd2910954cc861759b7',1,'hid_device_info']]], 5 | ['manufacturerproductname',['ManufacturerProductName',['../struct_manufacturer_product_name_def.html#ae0bc4c8cdce9488bdb26da7850e7fe84',1,'ManufacturerProductNameDef']]], 6 | ['manufacturerproductnamedef',['ManufacturerProductNameDef',['../struct_manufacturer_product_name_def.html',1,'']]], 7 | ['mcp2210_2ecpp',['mcp2210.cpp',['../mcp2210_8cpp.html',1,'']]], 8 | ['mcp2210_2eh',['mcp2210.h',['../mcp2210_8h.html',1,'']]], 9 | ['mcp2210_5fpid',['MCP2210_PID',['../mcp2210_8h.html#a1fcd3059a678640e1ea1f7f83a4dc9e9',1,'mcp2210.h']]], 10 | ['mcp2210_5fvid',['MCP2210_VID',['../mcp2210_8h.html#a48c00ece206fdfe72edfb18ef6c72769',1,'mcp2210.h']]], 11 | ['mcp2210test_2ecpp',['mcp2210test.cpp',['../mcp2210test_8cpp.html',1,'']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /doc/html/search/all_70.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['parse_5fuevent_5finfo',['parse_uevent_info',['../hid_8c.html#a8231475fac4a08db9dd6da86a5355acf',1,'hid.c']]], 4 | ['password',['password',['../struct_chip_settings_def.html#a0e9e9123c42b18bdd6294d0ae7935582',1,'ChipSettingsDef']]], 5 | ['passwordguessed',['PasswordGuessed',['../struct_chip_status_def.html#ae83bf4d444de30c1a451f9aef7ce4d6f',1,'ChipStatusDef']]], 6 | ['path',['path',['../structhid__device__info.html#a6384b5bf4d9583598e5f5a889f240921',1,'hid_device_info']]], 7 | ['pid',['PID',['../struct_u_s_b_key_parameters_def.html#af2a7b529b80b82c0933cc8ce38723e1e',1,'USBKeyParametersDef']]], 8 | ['pindesignation',['PinDesignation',['../struct_g_p_pin.html#a3d0225b44b50d426354e47851f246ab9',1,'GPPin']]], 9 | ['product_5fid',['product_id',['../structhid__device__info.html#a04595915457b4374492edb1fdb62d65d',1,'hid_device_info']]], 10 | ['product_5fstring',['product_string',['../structhid__device__info.html#aceee256b4f7cd7fdd9fa5d556f49d221',1,'hid_device_info']]] 11 | ]; 12 | -------------------------------------------------------------------------------- /doc/html/search/functions_72.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['readeeprom',['ReadEEPROM',['../mcp2210_8cpp.html#a8ccc5483803201158f79ebe9b01d204d',1,'ReadEEPROM(hid_device *handle, byte addr, byte *val): mcp2210.cpp'],['../mcp2210_8h.html#a8ccc5483803201158f79ebe9b01d204d',1,'ReadEEPROM(hid_device *handle, byte addr, byte *val): mcp2210.cpp']]], 4 | ['register_5ferror',['register_error',['../hid_8c.html#ab31adac234dbe9c0059f8d027c0333a8',1,'hid.c']]], 5 | ['releasemcp2210',['ReleaseMCP2210',['../mcp2210_8cpp.html#afca69dafd7a0768a60da2cf80525c6b5',1,'ReleaseMCP2210(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#afca69dafd7a0768a60da2cf80525c6b5',1,'ReleaseMCP2210(hid_device *handle): mcp2210.cpp']]], 6 | ['requestspibusrelease',['RequestSPIBusRelease',['../mcp2210_8cpp.html#adfb0cd492ab9c674d4ad5a5aeabbf365',1,'RequestSPIBusRelease(hid_device *handle, byte val): mcp2210.cpp'],['../mcp2210_8h.html#adfb0cd492ab9c674d4ad5a5aeabbf365',1,'RequestSPIBusRelease(hid_device *handle, byte val): mcp2210.cpp']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/all_61.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_62.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_64.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_65.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_67.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_69.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_6c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_6d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_6e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_6f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_70.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_73.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_75.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_76.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/all_77.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/enums_64.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/files_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/files_6d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/classes_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/classes_65.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/classes_67.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/classes_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/classes_6d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/classes_73.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/classes_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/classes_75.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_65.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_67.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_6d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_6e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_6f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_73.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/defines_75.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_62.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/typedefs_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/enumvalues_64.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_65.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_67.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_69.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_6d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_6e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_70.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_73.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/functions_77.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_61.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_62.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_64.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_65.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_67.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_69.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_6c.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_6d.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_6e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_70.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_73.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_75.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/search/variables_76.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
Loading...
11 |
12 | 15 |
Searching...
16 |
No Matches
17 | 23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /doc/html/struct_s_p_i_transfer_settings_def.js: -------------------------------------------------------------------------------- 1 | var struct_s_p_i_transfer_settings_def = 2 | [ 3 | [ "ActiveChipSelectValue", "struct_s_p_i_transfer_settings_def.html#a32134013c1180fc4ddcfa42b9e1aeed0", null ], 4 | [ "BitRate", "struct_s_p_i_transfer_settings_def.html#a63e79a7391c75e2f16ff51a73fd23638", null ], 5 | [ "BytesPerSPITransfer", "struct_s_p_i_transfer_settings_def.html#a7f24f8717153d307d02780a27f5bf5dd", null ], 6 | [ "CSToDataDelay", "struct_s_p_i_transfer_settings_def.html#a0e6381f4d265cb73a9589f5e1ba695cf", null ], 7 | [ "ErrorCode", "struct_s_p_i_transfer_settings_def.html#a06e000b94a109cb22dd362ec768eedc7", null ], 8 | [ "IdleChipSelectValue", "struct_s_p_i_transfer_settings_def.html#a2f469778bc45bfaae06c0779c53457a9", null ], 9 | [ "LastDataByteToCSDelay", "struct_s_p_i_transfer_settings_def.html#a5c05d83e86f6d4cb9437d00a4c7a38a2", null ], 10 | [ "SPIMode", "struct_s_p_i_transfer_settings_def.html#a362c078515ae312b89face990d02d6c6", null ], 11 | [ "SubsequentDataByteDelay", "struct_s_p_i_transfer_settings_def.html#a7692386eb70c3fd674c1a0fdbe7a62c2", null ] 12 | ]; -------------------------------------------------------------------------------- /doc/html/annotated.js: -------------------------------------------------------------------------------- 1 | var annotated = 2 | [ 3 | [ "ChipSettingsDef", "struct_chip_settings_def.html", "struct_chip_settings_def" ], 4 | [ "ChipStatusDef", "struct_chip_status_def.html", "struct_chip_status_def" ], 5 | [ "ExternalInterruptPinStatusDef", "struct_external_interrupt_pin_status_def.html", "struct_external_interrupt_pin_status_def" ], 6 | [ "GPPin", "struct_g_p_pin.html", "struct_g_p_pin" ], 7 | [ "GPPinDef", "struct_g_p_pin_def.html", "struct_g_p_pin_def" ], 8 | [ "hid_device_", "structhid__device__.html", "structhid__device__" ], 9 | [ "hid_device_info", "structhid__device__info.html", "structhid__device__info" ], 10 | [ "ManufacturerProductNameDef", "struct_manufacturer_product_name_def.html", "struct_manufacturer_product_name_def" ], 11 | [ "SPIDataTransferStatusDef", "struct_s_p_i_data_transfer_status_def.html", "struct_s_p_i_data_transfer_status_def" ], 12 | [ "SPITransferSettingsDef", "struct_s_p_i_transfer_settings_def.html", "struct_s_p_i_transfer_settings_def" ], 13 | [ "USBKeyParametersDef", "struct_u_s_b_key_parameters_def.html", "struct_u_s_b_key_parameters_def" ] 14 | ]; -------------------------------------------------------------------------------- /doc/html/structhid__device__info.js: -------------------------------------------------------------------------------- 1 | var structhid__device__info = 2 | [ 3 | [ "interface_number", "structhid__device__info.html#a9163d8d5d7db8dc47bddfaf876e17547", null ], 4 | [ "manufacturer_string", "structhid__device__info.html#a484eebf746220cd2910954cc861759b7", null ], 5 | [ "next", "structhid__device__info.html#a2bfebc240baf3bdaf03965816e11f149", null ], 6 | [ "path", "structhid__device__info.html#a6384b5bf4d9583598e5f5a889f240921", null ], 7 | [ "product_id", "structhid__device__info.html#a04595915457b4374492edb1fdb62d65d", null ], 8 | [ "product_string", "structhid__device__info.html#aceee256b4f7cd7fdd9fa5d556f49d221", null ], 9 | [ "release_number", "structhid__device__info.html#a6a832d25260f7ec17ef008e53e50e1d0", null ], 10 | [ "serial_number", "structhid__device__info.html#a80756cea367e1566f966438984b75faf", null ], 11 | [ "usage", "structhid__device__info.html#a47f8011d58bcddd67f1403d6d3b4cab6", null ], 12 | [ "usage_page", "structhid__device__info.html#ab811117f8084ce2036815bdd33b16b3b", null ], 13 | [ "vendor_id", "structhid__device__info.html#a5037a3914e0bd8a3f821d1be9376c709", null ] 14 | ]; -------------------------------------------------------------------------------- /doc/html/search/variables_73.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['selfpowered',['SelfPowered',['../struct_u_s_b_key_parameters_def.html#aace169dc444713da0e0c0f5672d64bd0',1,'USBKeyParametersDef']]], 4 | ['serial_5fnumber',['serial_number',['../structhid__device__info.html#a80756cea367e1566f966438984b75faf',1,'hid_device_info']]], 5 | ['spibuscurrentowner',['SPIBusCurrentOwner',['../struct_chip_status_def.html#ac8d8808a7cf921e77831dc4e30e8d096',1,'ChipStatusDef']]], 6 | ['spibusreleaseextreqstat',['SPIBusReleaseExtReqStat',['../struct_chip_status_def.html#ac1422f04b7345187a77b5d506dc8a492',1,'ChipStatusDef']]], 7 | ['spibusreleasemode',['SPIBusReleaseMode',['../struct_chip_settings_def.html#abeaf6785170c987a19025a506cf14a8d',1,'ChipSettingsDef']]], 8 | ['spienginestatus',['SPIEngineStatus',['../struct_s_p_i_data_transfer_status_def.html#a4a2227f2a2c87291d918a9a3f39c5d55',1,'SPIDataTransferStatusDef']]], 9 | ['spimode',['SPIMode',['../struct_s_p_i_transfer_settings_def.html#a362c078515ae312b89face990d02d6c6',1,'SPITransferSettingsDef']]], 10 | ['subsequentdatabytedelay',['SubsequentDataByteDelay',['../struct_s_p_i_transfer_settings_def.html#a7692386eb70c3fd674c1a0fdbe7a62c2',1,'SPITransferSettingsDef']]] 11 | ]; 12 | -------------------------------------------------------------------------------- /doc/html/navtreeindex.js: -------------------------------------------------------------------------------- 1 | var NAVTREEINDEX = 2 | { 3 | "index.html":[], 4 | "modules.html":[0], 5 | "group___a_p_i.html":[0,0], 6 | "annotated.html":[1,0], 7 | "struct_chip_settings_def.html":[1,0,0], 8 | "struct_chip_status_def.html":[1,0,1], 9 | "struct_external_interrupt_pin_status_def.html":[1,0,2], 10 | "struct_g_p_pin.html":[1,0,3], 11 | "struct_g_p_pin_def.html":[1,0,4], 12 | "structhid__device__.html":[1,0,5], 13 | "structhid__device__info.html":[1,0,6], 14 | "struct_manufacturer_product_name_def.html":[1,0,7], 15 | "struct_s_p_i_data_transfer_status_def.html":[1,0,8], 16 | "struct_s_p_i_transfer_settings_def.html":[1,0,9], 17 | "struct_u_s_b_key_parameters_def.html":[1,0,10], 18 | "classes.html":[1,1], 19 | "functions.html":[1,2,0], 20 | "functions_vars.html":[1,2,1], 21 | "files.html":[2,0], 22 | "_8dep_8inc.html":[2,0,0], 23 | "hid_8c.html":[2,0,1], 24 | "hidapi_8h.html":[2,0,2], 25 | "mcp2210_8cpp.html":[2,0,3], 26 | "mcp2210_8h.html":[2,0,4], 27 | "mcp2210test_8cpp.html":[2,0,5], 28 | "globals.html":[2,1,0], 29 | "globals_func.html":[2,1,1], 30 | "globals_vars.html":[2,1,2], 31 | "globals_type.html":[2,1,3], 32 | "globals_enum.html":[2,1,4], 33 | "globals_eval.html":[2,1,5], 34 | "globals_defs.html":[2,1,6] 35 | }; 36 | -------------------------------------------------------------------------------- /doc/html/search/all_75.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['usage',['usage',['../structhid__device__info.html#a47f8011d58bcddd67f1403d6d3b4cab6',1,'hid_device_info']]], 4 | ['usage_5fpage',['usage_page',['../structhid__device__info.html#ab811117f8084ce2036815bdd33b16b3b',1,'hid_device_info']]], 5 | ['usb_5fstring_5fdescriptor_5fid',['USB_STRING_DESCRIPTOR_ID',['../mcp2210_8h.html#ae0075029a6d3c961364eb1aeea474153',1,'mcp2210.h']]], 6 | ['usbkeyparametersdef',['USBKeyParametersDef',['../struct_u_s_b_key_parameters_def.html',1,'']]], 7 | ['usbstringdescriptorid',['USBStringDescriptorID',['../struct_manufacturer_product_name_def.html#a338f0d675fb05fabd7654239ca9b878d',1,'ManufacturerProductNameDef']]], 8 | ['usbstringdescriptorlength',['USBStringDescriptorLength',['../struct_manufacturer_product_name_def.html#a78178464ccb77610a03691701cca017e',1,'ManufacturerProductNameDef']]], 9 | ['uses_5fnumbered_5freports',['uses_numbered_reports',['../structhid__device__.html#a58ed6252074ed422235fe9e0c48aeafe',1,'hid_device_::uses_numbered_reports()'],['../hid_8c.html#aa8367d23a06060a60fde2dc6d9852f47',1,'uses_numbered_reports(): hid.c']]], 10 | ['utf8_5fto_5fwchar_5ft',['utf8_to_wchar_t',['../hid_8c.html#a7159e475a48b3e88d6a5cf5ab33ed283',1,'hid.c']]] 11 | ]; 12 | -------------------------------------------------------------------------------- /doc/html/search/all_69.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['idlechipselectvalue',['IdleChipSelectValue',['../struct_s_p_i_transfer_settings_def.html#a2f469778bc45bfaae06c0779c53457a9',1,'SPITransferSettingsDef']]], 4 | ['initmcp2210',['InitMCP2210',['../mcp2210_8cpp.html#a8da62fe716bc4b1936d50fd0fca2116d',1,'InitMCP2210(unsigned short vid, unsigned short pid, wchar_t *serialNumber): mcp2210.cpp'],['../mcp2210_8cpp.html#ab81541af956be15df79c95f49b1803c3',1,'InitMCP2210(wchar_t *serialNumber): mcp2210.cpp'],['../mcp2210_8cpp.html#a73f677a660068a18a713c94bd6a76e60',1,'InitMCP2210(): mcp2210.cpp'],['../mcp2210_8h.html#a73f677a660068a18a713c94bd6a76e60',1,'InitMCP2210(): mcp2210.cpp'],['../mcp2210_8h.html#ab81541af956be15df79c95f49b1803c3',1,'InitMCP2210(wchar_t *serialNumber): mcp2210.cpp'],['../mcp2210_8h.html#a8da62fe716bc4b1936d50fd0fca2116d',1,'InitMCP2210(unsigned short vid, unsigned short pid, wchar_t *serialNumber): mcp2210.cpp']]], 5 | ['interface_5fnumber',['interface_number',['../structhid__device__info.html#a9163d8d5d7db8dc47bddfaf876e17547',1,'hid_device_info']]], 6 | ['interrupteventcounter',['InterruptEventCounter',['../struct_external_interrupt_pin_status_def.html#a2aeec5fdeb39f15ad2a15cc7a229de9e',1,'ExternalInterruptPinStatusDef']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /doc/html/search/all_64.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['datareceived',['DataReceived',['../struct_s_p_i_data_transfer_status_def.html#a6376a62c46b37059a74995cc4ba567b3',1,'SPIDataTransferStatusDef']]], 4 | ['dedicatedfunctioninterruptpinmode',['DedicatedFunctionInterruptPinMode',['../struct_chip_settings_def.html#af61e2aaa5bcf3284abd4554d2be88002',1,'ChipSettingsDef']]], 5 | ['device_5fhandle',['device_handle',['../structhid__device__.html#acbcc48ecdd887f36390da3bb05a6d5d5',1,'hid_device_']]], 6 | ['device_5fstring_5fcount',['DEVICE_STRING_COUNT',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007a5114857ab5e188582f278af5bb3b1231',1,'hid.c']]], 7 | ['device_5fstring_5fid',['device_string_id',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007',1,'hid.c']]], 8 | ['device_5fstring_5fmanufacturer',['DEVICE_STRING_MANUFACTURER',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007a57493cd7979c4138e430e46e7038f656',1,'hid.c']]], 9 | ['device_5fstring_5fnames',['device_string_names',['../hid_8c.html#a0ca67dd1130adb839438e3ae0990e952',1,'hid.c']]], 10 | ['device_5fstring_5fproduct',['DEVICE_STRING_PRODUCT',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007a99aea612d2426e6342025ba6a151da89',1,'hid.c']]], 11 | ['device_5fstring_5fserial',['DEVICE_STRING_SERIAL',['../hid_8c.html#aa6d92ab04844f58836f237b1994e3007a28584a42df67ec8d8b86234c9c576fad',1,'hid.c']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /doc/html/tabs.css: -------------------------------------------------------------------------------- 1 | .tabs, .tabs2, .tabs3 { 2 | background-image: url('tab_b.png'); 3 | width: 100%; 4 | z-index: 101; 5 | font-size: 13px; 6 | } 7 | 8 | .tabs2 { 9 | font-size: 10px; 10 | } 11 | .tabs3 { 12 | font-size: 9px; 13 | } 14 | 15 | .tablist { 16 | margin: 0; 17 | padding: 0; 18 | display: table; 19 | } 20 | 21 | .tablist li { 22 | float: left; 23 | display: table-cell; 24 | background-image: url('tab_b.png'); 25 | line-height: 36px; 26 | list-style: none; 27 | } 28 | 29 | .tablist a { 30 | display: block; 31 | padding: 0 20px; 32 | font-weight: bold; 33 | background-image:url('tab_s.png'); 34 | background-repeat:no-repeat; 35 | background-position:right; 36 | color: #283A5D; 37 | text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); 38 | text-decoration: none; 39 | outline: none; 40 | } 41 | 42 | .tabs3 .tablist a { 43 | padding: 0 10px; 44 | } 45 | 46 | .tablist a:hover { 47 | background-image: url('tab_h.png'); 48 | background-repeat:repeat-x; 49 | color: #fff; 50 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 51 | text-decoration: none; 52 | } 53 | 54 | .tablist li.current a { 55 | background-image: url('tab_a.png'); 56 | background-repeat:repeat-x; 57 | color: #fff; 58 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 59 | } 60 | -------------------------------------------------------------------------------- /nbproject/Makefile-variables.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Generated - do not edit! 3 | # 4 | # NOCDDL 5 | # 6 | CND_BASEDIR=`pwd` 7 | CND_BUILDDIR=build 8 | CND_DISTDIR=dist 9 | # Debug configuration 10 | CND_PLATFORM_Debug=GNU-Linux-x86 11 | CND_ARTIFACT_DIR_Debug=dist/Debug/GNU-Linux-x86 12 | CND_ARTIFACT_NAME_Debug=hidusbtest 13 | CND_ARTIFACT_PATH_Debug=dist/Debug/GNU-Linux-x86/hidusbtest 14 | CND_PACKAGE_DIR_Debug=dist/Debug/GNU-Linux-x86/package 15 | CND_PACKAGE_NAME_Debug=hidusbtest.tar 16 | CND_PACKAGE_PATH_Debug=dist/Debug/GNU-Linux-x86/package/hidusbtest.tar 17 | # Release configuration 18 | CND_PLATFORM_Release=GNU-Linux-x86 19 | CND_ARTIFACT_DIR_Release=dist/Release/GNU-Linux-x86 20 | CND_ARTIFACT_NAME_Release=hidusbtest 21 | CND_ARTIFACT_PATH_Release=dist/Release/GNU-Linux-x86/hidusbtest 22 | CND_PACKAGE_DIR_Release=dist/Release/GNU-Linux-x86/package 23 | CND_PACKAGE_NAME_Release=hidusbtest.tar 24 | CND_PACKAGE_PATH_Release=dist/Release/GNU-Linux-x86/package/hidusbtest.tar 25 | # 26 | # include compiler specific variables 27 | # 28 | # dmake command 29 | ROOT:sh = test -f nbproject/private/Makefile-variables.mk || \ 30 | (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk) 31 | # 32 | # gmake command 33 | .PHONY: $(shell test -f nbproject/private/Makefile-variables.mk || (mkdir -p nbproject/private && touch nbproject/private/Makefile-variables.mk)) 34 | # 35 | include nbproject/private/Makefile-variables.mk 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | MCP2210-Library 2 | =============== 3 | 4 | This is an open source C/C++ library for Microchip's USB-to-SPI protocol converter chip MCP2210. It works under Linux. This library is released under Apache License, Version 2.0 5 | 6 | The library uses signal11's hidapi. You can find the library documentations in the doc directory, or you can view online here. Some code examples are listed below: 7 | 8 | 25 | 26 | Note, the compiled code needs root access to the device and need to be run using "sudo". You may need to add the provided udev rule (99-hid.rules) to the /etc/udev/rules.d directory. 27 | -------------------------------------------------------------------------------- /99-hid.rules: -------------------------------------------------------------------------------- 1 | # This is a sample udev file for HIDAPI devices which changes the permissions 2 | # to 0666 (world readable/writable) for a specified device on Linux systems. 3 | 4 | 5 | # If you are using the libusb implementation of hidapi (hid-libusb.c), then 6 | # use something like the following line, substituting the VID and PID with 7 | # those of your device. Note that for kernels before 2.6.24, you will need 8 | # to substitute "usb" with "usb_device". It shouldn't hurt to use two lines 9 | # (one each way) for compatibility with older systems. 10 | 11 | # HIDAPI/libusb 12 | SUBSYSTEM=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="00de", MODE="0666" 13 | 14 | 15 | # If you are using the hidraw implementation, then do something like the 16 | # following, substituting the VID and PID with your device. Busnum 1 is USB. 17 | 18 | # HIDAPI/hidraw 19 | KERNEL=="hidraw*", ATTRS{busnum}=="1", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="00de", MODE="0666" 20 | 21 | # Once done, optionally rename this file for your device, and drop it into 22 | # /etc/udev/rules.d and unplug and re-plug your device. This is all that is 23 | # necessary to see the new permissions. Udev does not have to be restarted. 24 | 25 | # Note that the hexadecimal values for VID and PID are case sensitive and 26 | # must be lower case. 27 | 28 | # If you think permissions of 0666 are too loose, then see: 29 | # http://reactivated.net/writing_udev_rules.html for more information on finer 30 | # grained permission setting. For example, it might be sufficient to just 31 | # set the group or user owner for specific devices (for example the plugdev 32 | # group on some systems). 33 | -------------------------------------------------------------------------------- /doc/latex/annotated.tex: -------------------------------------------------------------------------------- 1 | \section{\-Class \-List} 2 | \-Here are the classes, structs, unions and interfaces with brief descriptions\-:\begin{DoxyCompactList} 3 | \item\contentsline{section}{\hyperlink{struct_chip_settings_def}{\-Chip\-Settings\-Def} }{\pageref{struct_chip_settings_def}}{} 4 | \item\contentsline{section}{\hyperlink{struct_chip_status_def}{\-Chip\-Status\-Def} }{\pageref{struct_chip_status_def}}{} 5 | \item\contentsline{section}{\hyperlink{struct_external_interrupt_pin_status_def}{\-External\-Interrupt\-Pin\-Status\-Def} }{\pageref{struct_external_interrupt_pin_status_def}}{} 6 | \item\contentsline{section}{\hyperlink{struct_g_p_pin}{\-G\-P\-Pin} }{\pageref{struct_g_p_pin}}{} 7 | \item\contentsline{section}{\hyperlink{struct_g_p_pin_def}{\-G\-P\-Pin\-Def} }{\pageref{struct_g_p_pin_def}}{} 8 | \item\contentsline{section}{\hyperlink{structhid__device__}{hid\-\_\-device\-\_\-} }{\pageref{structhid__device__}}{} 9 | \item\contentsline{section}{\hyperlink{structhid__device__info}{hid\-\_\-device\-\_\-info} }{\pageref{structhid__device__info}}{} 10 | \item\contentsline{section}{\hyperlink{struct_manufacturer_product_name_def}{\-Manufacturer\-Product\-Name\-Def} }{\pageref{struct_manufacturer_product_name_def}}{} 11 | \item\contentsline{section}{\hyperlink{struct_s_p_i_data_transfer_status_def}{\-S\-P\-I\-Data\-Transfer\-Status\-Def} }{\pageref{struct_s_p_i_data_transfer_status_def}}{} 12 | \item\contentsline{section}{\hyperlink{struct_s_p_i_transfer_settings_def}{\-S\-P\-I\-Transfer\-Settings\-Def} }{\pageref{struct_s_p_i_transfer_settings_def}}{} 13 | \item\contentsline{section}{\hyperlink{struct_u_s_b_key_parameters_def}{\-U\-S\-B\-Key\-Parameters\-Def} }{\pageref{struct_u_s_b_key_parameters_def}}{} 14 | \end{DoxyCompactList} 15 | -------------------------------------------------------------------------------- /nbproject/Package-Debug.bash: -------------------------------------------------------------------------------- 1 | #!/bin/bash -x 2 | 3 | # 4 | # Generated - do not edit! 5 | # 6 | 7 | # Macros 8 | TOP=`pwd` 9 | CND_PLATFORM=GNU-Linux-x86 10 | CND_CONF=Debug 11 | CND_DISTDIR=dist 12 | CND_BUILDDIR=build 13 | NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging 14 | TMPDIRNAME=tmp-packaging 15 | OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest 16 | OUTPUT_BASENAME=hidusbtest 17 | PACKAGE_TOP_DIR=hidusbtest/ 18 | 19 | # Functions 20 | function checkReturnCode 21 | { 22 | rc=$? 23 | if [ $rc != 0 ] 24 | then 25 | exit $rc 26 | fi 27 | } 28 | function makeDirectory 29 | # $1 directory path 30 | # $2 permission (optional) 31 | { 32 | mkdir -p "$1" 33 | checkReturnCode 34 | if [ "$2" != "" ] 35 | then 36 | chmod $2 "$1" 37 | checkReturnCode 38 | fi 39 | } 40 | function copyFileToTmpDir 41 | # $1 from-file path 42 | # $2 to-file path 43 | # $3 permission 44 | { 45 | cp "$1" "$2" 46 | checkReturnCode 47 | if [ "$3" != "" ] 48 | then 49 | chmod $3 "$2" 50 | checkReturnCode 51 | fi 52 | } 53 | 54 | # Setup 55 | cd "${TOP}" 56 | mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package 57 | rm -rf ${NBTMPDIR} 58 | mkdir -p ${NBTMPDIR} 59 | 60 | # Copy files and create directories and links 61 | cd "${TOP}" 62 | makeDirectory "${NBTMPDIR}/hidusbtest/bin" 63 | copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 64 | 65 | 66 | # Generate tar file 67 | cd "${TOP}" 68 | rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/hidusbtest.tar 69 | cd ${NBTMPDIR} 70 | tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/hidusbtest.tar * 71 | checkReturnCode 72 | 73 | # Cleanup 74 | cd "${TOP}" 75 | rm -rf ${NBTMPDIR} 76 | -------------------------------------------------------------------------------- /nbproject/Package-Release.bash: -------------------------------------------------------------------------------- 1 | #!/bin/bash -x 2 | 3 | # 4 | # Generated - do not edit! 5 | # 6 | 7 | # Macros 8 | TOP=`pwd` 9 | CND_PLATFORM=GNU-Linux-x86 10 | CND_CONF=Release 11 | CND_DISTDIR=dist 12 | CND_BUILDDIR=build 13 | NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging 14 | TMPDIRNAME=tmp-packaging 15 | OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest 16 | OUTPUT_BASENAME=hidusbtest 17 | PACKAGE_TOP_DIR=hidusbtest/ 18 | 19 | # Functions 20 | function checkReturnCode 21 | { 22 | rc=$? 23 | if [ $rc != 0 ] 24 | then 25 | exit $rc 26 | fi 27 | } 28 | function makeDirectory 29 | # $1 directory path 30 | # $2 permission (optional) 31 | { 32 | mkdir -p "$1" 33 | checkReturnCode 34 | if [ "$2" != "" ] 35 | then 36 | chmod $2 "$1" 37 | checkReturnCode 38 | fi 39 | } 40 | function copyFileToTmpDir 41 | # $1 from-file path 42 | # $2 to-file path 43 | # $3 permission 44 | { 45 | cp "$1" "$2" 46 | checkReturnCode 47 | if [ "$3" != "" ] 48 | then 49 | chmod $3 "$2" 50 | checkReturnCode 51 | fi 52 | } 53 | 54 | # Setup 55 | cd "${TOP}" 56 | mkdir -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package 57 | rm -rf ${NBTMPDIR} 58 | mkdir -p ${NBTMPDIR} 59 | 60 | # Copy files and create directories and links 61 | cd "${TOP}" 62 | makeDirectory "${NBTMPDIR}/hidusbtest/bin" 63 | copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 64 | 65 | 66 | # Generate tar file 67 | cd "${TOP}" 68 | rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/hidusbtest.tar 69 | cd ${NBTMPDIR} 70 | tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/hidusbtest.tar * 71 | checkReturnCode 72 | 73 | # Cleanup 74 | cd "${TOP}" 75 | rm -rf ${NBTMPDIR} 76 | -------------------------------------------------------------------------------- /doc/latex/struct_g_p_pin_def.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{struct_g_p_pin_def}{\section{\-G\-P\-Pin\-Def \-Struct \-Reference} 2 | \label{struct_g_p_pin_def}\index{\-G\-P\-Pin\-Def@{\-G\-P\-Pin\-Def}} 3 | } 4 | 5 | 6 | {\ttfamily \#include $<$mcp2210.\-h$>$} 7 | 8 | \subsection*{\-Public \-Attributes} 9 | \begin{DoxyCompactItemize} 10 | \item 11 | \hyperlink{struct_g_p_pin}{\-G\-P\-Pin} \hyperlink{struct_g_p_pin_def_a5274d0e49d1ec54865a419b2ef722d32}{\-G\-P} \mbox{[}9\mbox{]} 12 | \item 13 | int \hyperlink{struct_g_p_pin_def_aec1b783e71959f2715543127bf6ed164}{\-Error\-Code} 14 | \end{DoxyCompactItemize} 15 | 16 | 17 | \subsection{\-Detailed \-Description} 18 | \-General purpose pins definition 19 | 20 | \subsection{\-Member \-Data \-Documentation} 21 | \hypertarget{struct_g_p_pin_def_aec1b783e71959f2715543127bf6ed164}{\index{\-G\-P\-Pin\-Def@{\-G\-P\-Pin\-Def}!\-Error\-Code@{\-Error\-Code}} 22 | \index{\-Error\-Code@{\-Error\-Code}!GPPinDef@{\-G\-P\-Pin\-Def}} 23 | \subsubsection[{\-Error\-Code}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-G\-P\-Pin\-Def\-::\-Error\-Code}}}\label{struct_g_p_pin_def_aec1b783e71959f2715543127bf6ed164} 24 | \-The error code returned \hypertarget{struct_g_p_pin_def_a5274d0e49d1ec54865a419b2ef722d32}{\index{\-G\-P\-Pin\-Def@{\-G\-P\-Pin\-Def}!\-G\-P@{\-G\-P}} 25 | \index{\-G\-P@{\-G\-P}!GPPinDef@{\-G\-P\-Pin\-Def}} 26 | \subsubsection[{\-G\-P}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-G\-P\-Pin} {\bf \-G\-P\-Pin\-Def\-::\-G\-P}\mbox{[}9\mbox{]}}}\label{struct_g_p_pin_def_a5274d0e49d1ec54865a419b2ef722d32} 27 | \-G\-P0 through \-G\-P8 \begin{DoxySeeAlso}{\-See also} 28 | \hyperlink{struct_g_p_pin}{\-G\-P\-Pin} 29 | \end{DoxySeeAlso} 30 | 31 | 32 | \-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} 33 | \item 34 | \hyperlink{mcp2210_8h}{mcp2210.\-h}\end{DoxyCompactItemize} 35 | -------------------------------------------------------------------------------- /doc/html/search/all_65.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['enumeratemcp2210',['EnumerateMCP2210',['../mcp2210_8cpp.html#a0b3fb01a244efdc3126f2646553aeb3d',1,'EnumerateMCP2210(): mcp2210.cpp'],['../mcp2210_8h.html#a0b3fb01a244efdc3126f2646553aeb3d',1,'EnumerateMCP2210(): mcp2210.cpp']]], 4 | ['error_5finvalid_5fdevice_5fhandle',['ERROR_INVALID_DEVICE_HANDLE',['../mcp2210_8h.html#a60ec41154df53aafaee186316dc51146',1,'mcp2210.h']]], 5 | ['error_5funable_5fto_5fopen_5fdevice',['ERROR_UNABLE_TO_OPEN_DEVICE',['../mcp2210_8h.html#a4deeabd750e9bdd57f4770f89793e37e',1,'mcp2210.h']]], 6 | ['error_5funable_5fto_5fread_5ffrom_5fdevice',['ERROR_UNABLE_TO_READ_FROM_DEVICE',['../mcp2210_8h.html#a4cc9cd91d1a74df9224d931fcca8f7fa',1,'mcp2210.h']]], 7 | ['error_5funable_5fto_5fwrite_5fto_5fdevice',['ERROR_UNABLE_TO_WRITE_TO_DEVICE',['../mcp2210_8h.html#aaad991bdf4e465eb65a7a075dc0f8ab6',1,'mcp2210.h']]], 8 | ['errorcode',['ErrorCode',['../struct_s_p_i_transfer_settings_def.html#a06e000b94a109cb22dd362ec768eedc7',1,'SPITransferSettingsDef::ErrorCode()'],['../struct_chip_settings_def.html#a711cd7ddde92dcfefaba6863b303ab3d',1,'ChipSettingsDef::ErrorCode()'],['../struct_u_s_b_key_parameters_def.html#aaaf11b677e036ff4847cc42bf891e786',1,'USBKeyParametersDef::ErrorCode()'],['../struct_manufacturer_product_name_def.html#a826000ba27e897acf51b987c78d62861',1,'ManufacturerProductNameDef::ErrorCode()'],['../struct_chip_status_def.html#ab359484a0244ec153c49f0af23c2d29b',1,'ChipStatusDef::ErrorCode()'],['../struct_s_p_i_data_transfer_status_def.html#a202e947d5055ae583859ab2b1dddaede',1,'SPIDataTransferStatusDef::ErrorCode()'],['../struct_external_interrupt_pin_status_def.html#a94be603e5e321af81780d4a0583cea46',1,'ExternalInterruptPinStatusDef::ErrorCode()'],['../struct_g_p_pin_def.html#aec1b783e71959f2715543127bf6ed164',1,'GPPinDef::ErrorCode()']]], 9 | ['externalinterruptpinstatusdef',['ExternalInterruptPinStatusDef',['../struct_external_interrupt_pin_status_def.html',1,'']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /doc/html/search/all_72.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['readeeprom',['ReadEEPROM',['../mcp2210_8cpp.html#a8ccc5483803201158f79ebe9b01d204d',1,'ReadEEPROM(hid_device *handle, byte addr, byte *val): mcp2210.cpp'],['../mcp2210_8h.html#a8ccc5483803201158f79ebe9b01d204d',1,'ReadEEPROM(hid_device *handle, byte addr, byte *val): mcp2210.cpp']]], 4 | ['register_5ferror',['register_error',['../hid_8c.html#ab31adac234dbe9c0059f8d027c0333a8',1,'hid.c']]], 5 | ['release_5fnumber',['release_number',['../structhid__device__info.html#a6a832d25260f7ec17ef008e53e50e1d0',1,'hid_device_info']]], 6 | ['releasemcp2210',['ReleaseMCP2210',['../mcp2210_8cpp.html#afca69dafd7a0768a60da2cf80525c6b5',1,'ReleaseMCP2210(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#afca69dafd7a0768a60da2cf80525c6b5',1,'ReleaseMCP2210(hid_device *handle): mcp2210.cpp']]], 7 | ['remote_5fwakeup_5fdisabled',['REMOTE_WAKEUP_DISABLED',['../mcp2210_8h.html#abe84dfa63d6452c1c2c5419a0fee5bb5',1,'mcp2210.h']]], 8 | ['remote_5fwaveup_5fenabled',['REMOTE_WAVEUP_ENABLED',['../mcp2210_8h.html#af57f368b1074b61d4e722391119927d6',1,'mcp2210.h']]], 9 | ['remotewakeupcapable',['RemoteWakeupCapable',['../struct_u_s_b_key_parameters_def.html#ab03b4a5fd9b6f7c1e8b5b10a02a2496d',1,'USBKeyParametersDef']]], 10 | ['remotewakeupenabled',['RemoteWakeUpEnabled',['../struct_chip_settings_def.html#a5a29397e3fd6793de5d8d348b3b11d22',1,'ChipSettingsDef']]], 11 | ['requestedcurrentamountfromhost',['RequestedCurrentAmountFromHost',['../struct_u_s_b_key_parameters_def.html#a37e6e0ff7720d067ea185fd9b19d0ba8',1,'USBKeyParametersDef']]], 12 | ['requestspibusrelease',['RequestSPIBusRelease',['../mcp2210_8cpp.html#adfb0cd492ab9c674d4ad5a5aeabbf365',1,'RequestSPIBusRelease(hid_device *handle, byte val): mcp2210.cpp'],['../mcp2210_8h.html#adfb0cd492ab9c674d4ad5a5aeabbf365',1,'RequestSPIBusRelease(hid_device *handle, byte val): mcp2210.cpp']]], 13 | ['response_5fbuffer_5flength',['RESPONSE_BUFFER_LENGTH',['../mcp2210_8h.html#ae418247dcaca196cfa54fc77a19d591f',1,'mcp2210.h']]] 14 | ]; 15 | -------------------------------------------------------------------------------- /doc/html/hidapi_8h.js: -------------------------------------------------------------------------------- 1 | var hidapi_8h = 2 | [ 3 | [ "HID_API_CALL", "hidapi_8h.html#af140a25716604e86096670a505a58ee0", null ], 4 | [ "HID_API_EXPORT", "hidapi_8h.html#aa60150016800ccb88fdf140e8553ae13", null ], 5 | [ "HID_API_EXPORT_CALL", "hidapi_8h.html#a70c49eda5025c1bc455af77da19ca312", null ], 6 | [ "hid_device", "hidapi_8h.html#aa6da74d5686d198dd3e5440e60088fcc", null ], 7 | [ "hid_close", "group___a_p_i.html#ga9b64828273b8dd052731e79ba9e1a516", null ], 8 | [ "hid_enumerate", "group___a_p_i.html#ga135931e04d48078a9fb7aebf663676f9", null ], 9 | [ "hid_error", "group___a_p_i.html#ga1b5c0ca1c785b8024f5eb46750a8f606", null ], 10 | [ "hid_exit", "group___a_p_i.html#gacf5da9ce37132eba69fc259f17f13023", null ], 11 | [ "hid_free_enumeration", "group___a_p_i.html#gafc2d2adf71db3784b783b9a554527aa4", null ], 12 | [ "hid_get_feature_report", "group___a_p_i.html#ga34d43ac6da0fb785b88fcc2edf13ed65", null ], 13 | [ "hid_get_indexed_string", "group___a_p_i.html#ga03810bc0be3c21e9229feff689a9de85", null ], 14 | [ "hid_get_manufacturer_string", "group___a_p_i.html#ga2652b2ff0f3982a8c5791718e2a2e6cb", null ], 15 | [ "hid_get_product_string", "group___a_p_i.html#gaa78526041c4bb470b2c1ad9eb0791c5f", null ], 16 | [ "hid_get_serial_number_string", "group___a_p_i.html#ga73994b7820264d3604d6ee25de9c66be", null ], 17 | [ "hid_init", "group___a_p_i.html#ga142ffc1b0b7a7fa412d3862b2a17164b", null ], 18 | [ "hid_open", "group___a_p_i.html#gae6910ed9f01c4a99d25539b16800e90c", null ], 19 | [ "hid_open_path", "group___a_p_i.html#ga1e87518670f88540c920dc451df608ee", null ], 20 | [ "hid_read", "group___a_p_i.html#ga6b820f3e72097cf7f994e33715dc7af1", null ], 21 | [ "hid_read_timeout", "group___a_p_i.html#gaa5c9ed5aa290688ffac03343989ad75a", null ], 22 | [ "hid_send_feature_report", "group___a_p_i.html#gae43ab80f741786ac4374216658fd5ab3", null ], 23 | [ "hid_set_nonblocking", "group___a_p_i.html#gaf9d54208d314047727598b506577bb87", null ], 24 | [ "hid_write", "group___a_p_i.html#gad14ea48e440cf5066df87cc6488493af", null ] 25 | ]; -------------------------------------------------------------------------------- /doc/latex/structhid__device__.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{structhid__device__}{\section{hid\-\_\-device\-\_\- \-Struct \-Reference} 2 | \label{structhid__device__}\index{hid\-\_\-device\-\_\-@{hid\-\_\-device\-\_\-}} 3 | } 4 | \subsection*{\-Public \-Attributes} 5 | \begin{DoxyCompactItemize} 6 | \item 7 | int \hyperlink{structhid__device___acbcc48ecdd887f36390da3bb05a6d5d5}{device\-\_\-handle} 8 | \item 9 | int \hyperlink{structhid__device___ae4a8b40297f31863df3133637cfa2121}{blocking} 10 | \item 11 | int \hyperlink{structhid__device___a58ed6252074ed422235fe9e0c48aeafe}{uses\-\_\-numbered\-\_\-reports} 12 | \end{DoxyCompactItemize} 13 | 14 | 15 | \subsection{\-Member \-Data \-Documentation} 16 | \hypertarget{structhid__device___ae4a8b40297f31863df3133637cfa2121}{\index{hid\-\_\-device\-\_\-@{hid\-\_\-device\-\_\-}!blocking@{blocking}} 17 | \index{blocking@{blocking}!hid_device_@{hid\-\_\-device\-\_\-}} 18 | \subsubsection[{blocking}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf hid\-\_\-device\-\_\-\-::blocking}}}\label{structhid__device___ae4a8b40297f31863df3133637cfa2121} 19 | \hypertarget{structhid__device___acbcc48ecdd887f36390da3bb05a6d5d5}{\index{hid\-\_\-device\-\_\-@{hid\-\_\-device\-\_\-}!device\-\_\-handle@{device\-\_\-handle}} 20 | \index{device\-\_\-handle@{device\-\_\-handle}!hid_device_@{hid\-\_\-device\-\_\-}} 21 | \subsubsection[{device\-\_\-handle}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf hid\-\_\-device\-\_\-\-::device\-\_\-handle}}}\label{structhid__device___acbcc48ecdd887f36390da3bb05a6d5d5} 22 | \hypertarget{structhid__device___a58ed6252074ed422235fe9e0c48aeafe}{\index{hid\-\_\-device\-\_\-@{hid\-\_\-device\-\_\-}!uses\-\_\-numbered\-\_\-reports@{uses\-\_\-numbered\-\_\-reports}} 23 | \index{uses\-\_\-numbered\-\_\-reports@{uses\-\_\-numbered\-\_\-reports}!hid_device_@{hid\-\_\-device\-\_\-}} 24 | \subsubsection[{uses\-\_\-numbered\-\_\-reports}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf hid\-\_\-device\-\_\-\-::uses\-\_\-numbered\-\_\-reports}}}\label{structhid__device___a58ed6252074ed422235fe9e0c48aeafe} 25 | 26 | 27 | \-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} 28 | \item 29 | \hyperlink{hid_8c}{hid.\-c}\end{DoxyCompactItemize} 30 | -------------------------------------------------------------------------------- /doc/latex/struct_external_interrupt_pin_status_def.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{struct_external_interrupt_pin_status_def}{\section{\-External\-Interrupt\-Pin\-Status\-Def \-Struct \-Reference} 2 | \label{struct_external_interrupt_pin_status_def}\index{\-External\-Interrupt\-Pin\-Status\-Def@{\-External\-Interrupt\-Pin\-Status\-Def}} 3 | } 4 | 5 | 6 | {\ttfamily \#include $<$mcp2210.\-h$>$} 7 | 8 | \subsection*{\-Public \-Attributes} 9 | \begin{DoxyCompactItemize} 10 | \item 11 | unsigned int \hyperlink{struct_external_interrupt_pin_status_def_a2aeec5fdeb39f15ad2a15cc7a229de9e}{\-Interrupt\-Event\-Counter} 12 | \item 13 | int \hyperlink{struct_external_interrupt_pin_status_def_a94be603e5e321af81780d4a0583cea46}{\-Error\-Code} 14 | \end{DoxyCompactItemize} 15 | 16 | 17 | \subsection{\-Detailed \-Description} 18 | \-External interrupt pin (\-G\-P6) status definition 19 | 20 | \subsection{\-Member \-Data \-Documentation} 21 | \hypertarget{struct_external_interrupt_pin_status_def_a94be603e5e321af81780d4a0583cea46}{\index{\-External\-Interrupt\-Pin\-Status\-Def@{\-External\-Interrupt\-Pin\-Status\-Def}!\-Error\-Code@{\-Error\-Code}} 22 | \index{\-Error\-Code@{\-Error\-Code}!ExternalInterruptPinStatusDef@{\-External\-Interrupt\-Pin\-Status\-Def}} 23 | \subsubsection[{\-Error\-Code}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-External\-Interrupt\-Pin\-Status\-Def\-::\-Error\-Code}}}\label{struct_external_interrupt_pin_status_def_a94be603e5e321af81780d4a0583cea46} 24 | \-The error code returned \hypertarget{struct_external_interrupt_pin_status_def_a2aeec5fdeb39f15ad2a15cc7a229de9e}{\index{\-External\-Interrupt\-Pin\-Status\-Def@{\-External\-Interrupt\-Pin\-Status\-Def}!\-Interrupt\-Event\-Counter@{\-Interrupt\-Event\-Counter}} 25 | \index{\-Interrupt\-Event\-Counter@{\-Interrupt\-Event\-Counter}!ExternalInterruptPinStatusDef@{\-External\-Interrupt\-Pin\-Status\-Def}} 26 | \subsubsection[{\-Interrupt\-Event\-Counter}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-External\-Interrupt\-Pin\-Status\-Def\-::\-Interrupt\-Event\-Counter}}}\label{struct_external_interrupt_pin_status_def_a2aeec5fdeb39f15ad2a15cc7a229de9e} 27 | interrupt event counter value 28 | 29 | \-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} 30 | \item 31 | \hyperlink{mcp2210_8h}{mcp2210.\-h}\end{DoxyCompactItemize} 32 | -------------------------------------------------------------------------------- /doc/latex/struct_g_p_pin.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{struct_g_p_pin}{\section{\-G\-P\-Pin \-Struct \-Reference} 2 | \label{struct_g_p_pin}\index{\-G\-P\-Pin@{\-G\-P\-Pin}} 3 | } 4 | 5 | 6 | {\ttfamily \#include $<$mcp2210.\-h$>$} 7 | 8 | \subsection*{\-Public \-Attributes} 9 | \begin{DoxyCompactItemize} 10 | \item 11 | unsigned int \hyperlink{struct_g_p_pin_a3d0225b44b50d426354e47851f246ab9}{\-Pin\-Designation} 12 | \item 13 | unsigned int \hyperlink{struct_g_p_pin_a1fffec9bada958b64937f51655c569e4}{\-G\-P\-I\-O\-Output} 14 | \item 15 | unsigned int \hyperlink{struct_g_p_pin_a67735613380d11c71a1a447c7459bc6d}{\-G\-P\-I\-O\-Direction} 16 | \end{DoxyCompactItemize} 17 | 18 | 19 | \subsection{\-Detailed \-Description} 20 | \-General purpose pin definition 21 | 22 | \subsection{\-Member \-Data \-Documentation} 23 | \hypertarget{struct_g_p_pin_a67735613380d11c71a1a447c7459bc6d}{\index{\-G\-P\-Pin@{\-G\-P\-Pin}!\-G\-P\-I\-O\-Direction@{\-G\-P\-I\-O\-Direction}} 24 | \index{\-G\-P\-I\-O\-Direction@{\-G\-P\-I\-O\-Direction}!GPPin@{\-G\-P\-Pin}} 25 | \subsubsection[{\-G\-P\-I\-O\-Direction}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-G\-P\-Pin\-::\-G\-P\-I\-O\-Direction}}}\label{struct_g_p_pin_a67735613380d11c71a1a447c7459bc6d} 26 | \-G\-P\-I\-O pin direction 0\-: \-Output 1\-: \-Input \hypertarget{struct_g_p_pin_a1fffec9bada958b64937f51655c569e4}{\index{\-G\-P\-Pin@{\-G\-P\-Pin}!\-G\-P\-I\-O\-Output@{\-G\-P\-I\-O\-Output}} 27 | \index{\-G\-P\-I\-O\-Output@{\-G\-P\-I\-O\-Output}!GPPin@{\-G\-P\-Pin}} 28 | \subsubsection[{\-G\-P\-I\-O\-Output}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-G\-P\-Pin\-::\-G\-P\-I\-O\-Output}}}\label{struct_g_p_pin_a1fffec9bada958b64937f51655c569e4} 29 | \-The output value of the \-G\-P\-I\-O pin 0\-: \-Low 1\-: \-High \hypertarget{struct_g_p_pin_a3d0225b44b50d426354e47851f246ab9}{\index{\-G\-P\-Pin@{\-G\-P\-Pin}!\-Pin\-Designation@{\-Pin\-Designation}} 30 | \index{\-Pin\-Designation@{\-Pin\-Designation}!GPPin@{\-G\-P\-Pin}} 31 | \subsubsection[{\-Pin\-Designation}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-G\-P\-Pin\-::\-Pin\-Designation}}}\label{struct_g_p_pin_a3d0225b44b50d426354e47851f246ab9} 32 | \-The designation of the pin 0x00\-: \-G\-P\-I\-O 0x01\-: \-Chip \-Selects 0x02\-: \-Dedicated \-Function \-Pin 33 | 34 | \-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} 35 | \item 36 | \hyperlink{mcp2210_8h}{mcp2210.\-h}\end{DoxyCompactItemize} 37 | -------------------------------------------------------------------------------- /nbproject/Makefile-Debug.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Generated Makefile - do not edit! 3 | # 4 | # Edit the Makefile in the project folder instead (../Makefile). Each target 5 | # has a -pre and a -post target defined where you can add customized code. 6 | # 7 | # This makefile implements configuration specific macros and targets. 8 | 9 | 10 | # Environment 11 | MKDIR=mkdir 12 | CP=cp 13 | GREP=grep 14 | NM=nm 15 | CCADMIN=CCadmin 16 | RANLIB=ranlib 17 | CC=gcc 18 | CCC=g++ 19 | CXX=g++ 20 | FC=gfortran 21 | AS=as 22 | 23 | # Macros 24 | CND_PLATFORM=GNU-Linux-x86 25 | CND_DLIB_EXT=so 26 | CND_CONF=Debug 27 | CND_DISTDIR=dist 28 | CND_BUILDDIR=build 29 | 30 | # Include project Makefile 31 | include Makefile 32 | 33 | # Object Directory 34 | OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} 35 | 36 | # Object Files 37 | OBJECTFILES= \ 38 | ${OBJECTDIR}/mcp2210test.o \ 39 | ${OBJECTDIR}/hid.o \ 40 | ${OBJECTDIR}/mcp2210.o 41 | 42 | 43 | # C Compiler Flags 44 | CFLAGS= 45 | 46 | # CC Compiler Flags 47 | CCFLAGS= 48 | CXXFLAGS= 49 | 50 | # Fortran Compiler Flags 51 | FFLAGS= 52 | 53 | # Assembler Flags 54 | ASFLAGS= 55 | 56 | # Link Libraries and Options 57 | LDLIBSOPTIONS=-ludev 58 | 59 | # Build Targets 60 | .build-conf: ${BUILD_SUBPROJECTS} 61 | "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest 62 | 63 | ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest: ${OBJECTFILES} 64 | ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} 65 | ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest ${OBJECTFILES} ${LDLIBSOPTIONS} 66 | 67 | ${OBJECTDIR}/mcp2210test.o: mcp2210test.cpp 68 | ${MKDIR} -p ${OBJECTDIR} 69 | ${RM} $@.d 70 | $(COMPILE.cc) -g -MMD -MP -MF $@.d -o ${OBJECTDIR}/mcp2210test.o mcp2210test.cpp 71 | 72 | ${OBJECTDIR}/hid.o: hid.c 73 | ${MKDIR} -p ${OBJECTDIR} 74 | ${RM} $@.d 75 | $(COMPILE.c) -g -MMD -MP -MF $@.d -o ${OBJECTDIR}/hid.o hid.c 76 | 77 | ${OBJECTDIR}/mcp2210.o: mcp2210.cpp 78 | ${MKDIR} -p ${OBJECTDIR} 79 | ${RM} $@.d 80 | $(COMPILE.cc) -g -MMD -MP -MF $@.d -o ${OBJECTDIR}/mcp2210.o mcp2210.cpp 81 | 82 | # Subprojects 83 | .build-subprojects: 84 | 85 | # Clean Targets 86 | .clean-conf: ${CLEAN_SUBPROJECTS} 87 | ${RM} -r ${CND_BUILDDIR}/${CND_CONF} 88 | ${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest 89 | 90 | # Subprojects 91 | .clean-subprojects: 92 | 93 | # Enable dependency checking 94 | .dep.inc: .depcheck-impl 95 | 96 | include .dep.inc 97 | -------------------------------------------------------------------------------- /nbproject/Makefile-Release.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Generated Makefile - do not edit! 3 | # 4 | # Edit the Makefile in the project folder instead (../Makefile). Each target 5 | # has a -pre and a -post target defined where you can add customized code. 6 | # 7 | # This makefile implements configuration specific macros and targets. 8 | 9 | 10 | # Environment 11 | MKDIR=mkdir 12 | CP=cp 13 | GREP=grep 14 | NM=nm 15 | CCADMIN=CCadmin 16 | RANLIB=ranlib 17 | CC=gcc 18 | CCC=g++ 19 | CXX=g++ 20 | FC=gfortran 21 | AS=as 22 | 23 | # Macros 24 | CND_PLATFORM=GNU-Linux-x86 25 | CND_DLIB_EXT=so 26 | CND_CONF=Release 27 | CND_DISTDIR=dist 28 | CND_BUILDDIR=build 29 | 30 | # Include project Makefile 31 | include Makefile 32 | 33 | # Object Directory 34 | OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM} 35 | 36 | # Object Files 37 | OBJECTFILES= \ 38 | ${OBJECTDIR}/mcp2210test.o \ 39 | ${OBJECTDIR}/hid.o \ 40 | ${OBJECTDIR}/mcp2210.o 41 | 42 | 43 | # C Compiler Flags 44 | CFLAGS= 45 | 46 | # CC Compiler Flags 47 | CCFLAGS= 48 | CXXFLAGS= 49 | 50 | # Fortran Compiler Flags 51 | FFLAGS= 52 | 53 | # Assembler Flags 54 | ASFLAGS= 55 | 56 | # Link Libraries and Options 57 | LDLIBSOPTIONS=-ludev 58 | 59 | # Build Targets 60 | .build-conf: ${BUILD_SUBPROJECTS} 61 | "${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest 62 | 63 | ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest: ${OBJECTFILES} 64 | ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} 65 | ${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest ${OBJECTFILES} ${LDLIBSOPTIONS} 66 | 67 | ${OBJECTDIR}/mcp2210test.o: mcp2210test.cpp 68 | ${MKDIR} -p ${OBJECTDIR} 69 | ${RM} $@.d 70 | $(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/mcp2210test.o mcp2210test.cpp 71 | 72 | ${OBJECTDIR}/hid.o: hid.c 73 | ${MKDIR} -p ${OBJECTDIR} 74 | ${RM} $@.d 75 | $(COMPILE.c) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/hid.o hid.c 76 | 77 | ${OBJECTDIR}/mcp2210.o: mcp2210.cpp 78 | ${MKDIR} -p ${OBJECTDIR} 79 | ${RM} $@.d 80 | $(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/mcp2210.o mcp2210.cpp 81 | 82 | # Subprojects 83 | .build-subprojects: 84 | 85 | # Clean Targets 86 | .clean-conf: ${CLEAN_SUBPROJECTS} 87 | ${RM} -r ${CND_BUILDDIR}/${CND_CONF} 88 | ${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hidusbtest 89 | 90 | # Subprojects 91 | .clean-subprojects: 92 | 93 | # Enable dependency checking 94 | .dep.inc: .depcheck-impl 95 | 96 | include .dep.inc 97 | -------------------------------------------------------------------------------- /doc/html/navtree.css: -------------------------------------------------------------------------------- 1 | #nav-tree .children_ul { 2 | margin:0; 3 | padding:4px; 4 | } 5 | 6 | #nav-tree ul { 7 | list-style:none outside none; 8 | margin:0px; 9 | padding:0px; 10 | } 11 | 12 | #nav-tree li { 13 | white-space:nowrap; 14 | margin:0px; 15 | padding:0px; 16 | } 17 | 18 | #nav-tree .plus { 19 | margin:0px; 20 | } 21 | 22 | #nav-tree .selected { 23 | background-image: url('tab_a.png'); 24 | background-repeat:repeat-x; 25 | color: #fff; 26 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 27 | } 28 | 29 | #nav-tree img { 30 | margin:0px; 31 | padding:0px; 32 | border:0px; 33 | vertical-align: middle; 34 | } 35 | 36 | #nav-tree a { 37 | text-decoration:none; 38 | padding:0px; 39 | margin:0px; 40 | outline:none; 41 | } 42 | 43 | #nav-tree .label { 44 | margin:0px; 45 | padding:0px; 46 | } 47 | 48 | #nav-tree .label a { 49 | padding:2px; 50 | } 51 | 52 | #nav-tree .selected a { 53 | text-decoration:none; 54 | padding:2px; 55 | margin:0px; 56 | color:#fff; 57 | } 58 | 59 | #nav-tree .children_ul { 60 | margin:0px; 61 | padding:0px; 62 | } 63 | 64 | #nav-tree .item { 65 | margin:0px; 66 | padding:0px; 67 | } 68 | 69 | #nav-tree { 70 | padding: 0px 0px; 71 | background-color: #FAFAFF; 72 | font-size:14px; 73 | overflow:auto; 74 | } 75 | 76 | #doc-content { 77 | overflow:auto; 78 | display:block; 79 | padding:0px; 80 | margin:0px; 81 | } 82 | 83 | #side-nav { 84 | padding:0 6px 0 0; 85 | margin: 0px; 86 | display:block; 87 | position: absolute; 88 | left: 0px; 89 | width: 300px; 90 | } 91 | 92 | .ui-resizable .ui-resizable-handle { 93 | display:block; 94 | } 95 | 96 | .ui-resizable-e { 97 | background:url("ftv2splitbar.png") repeat scroll right center transparent; 98 | cursor:e-resize; 99 | height:100%; 100 | right:0; 101 | top:0; 102 | width:6px; 103 | } 104 | 105 | .ui-resizable-handle { 106 | display:none; 107 | font-size:0.1px; 108 | position:absolute; 109 | z-index:1; 110 | } 111 | 112 | #nav-tree-contents { 113 | margin: 6px 0px 0px 0px; 114 | } 115 | 116 | #nav-tree { 117 | background-image:url('nav_h.png'); 118 | background-repeat:repeat-x; 119 | background-color: #F9FAFC; 120 | } 121 | 122 | @media print 123 | { 124 | #nav-tree { display: none; } 125 | div.ui-resizable-handle { display: none; position: relative; } 126 | } 127 | 128 | -------------------------------------------------------------------------------- /doc/html/mcp2210_8cpp.js: -------------------------------------------------------------------------------- 1 | var mcp2210_8cpp = 2 | [ 3 | [ "CancelSPITransfer", "mcp2210_8cpp.html#abf54ce25e056b5fa2e0df30d632aa850", null ], 4 | [ "EnumerateMCP2210", "mcp2210_8cpp.html#a0b3fb01a244efdc3126f2646553aeb3d", null ], 5 | [ "GetChipSettings", "mcp2210_8cpp.html#a7a1ba0035d04e9e72b4db2cf5ad21220", null ], 6 | [ "GetChipStatus", "mcp2210_8cpp.html#a7d64b0e934db7345efb94af6a316e487", null ], 7 | [ "GetGPIOPinDirection", "mcp2210_8cpp.html#a4fa41d03c61fe4ac4c68ab1653b7f0b4", null ], 8 | [ "GetGPIOPinValue", "mcp2210_8cpp.html#a3acf8cc5387dfe9b1fe8dbb5fecfb867", null ], 9 | [ "GetManufacturerProductName", "mcp2210_8cpp.html#a394bb8317789fff387a1e338121a145b", null ], 10 | [ "GetNumOfEventsFromInterruptPin", "mcp2210_8cpp.html#af4f479adbc61b93bd180a1eb541ca6ef", null ], 11 | [ "GetSPITransferSettings", "mcp2210_8cpp.html#a28a3a304193aa5b16165a52b6be89d8e", null ], 12 | [ "GetUSBKeyParameters", "mcp2210_8cpp.html#a75c695b47cd5705afb8aad13a4e5751f", null ], 13 | [ "InitMCP2210", "mcp2210_8cpp.html#a8da62fe716bc4b1936d50fd0fca2116d", null ], 14 | [ "InitMCP2210", "mcp2210_8cpp.html#ab81541af956be15df79c95f49b1803c3", null ], 15 | [ "InitMCP2210", "mcp2210_8cpp.html#a73f677a660068a18a713c94bd6a76e60", null ], 16 | [ "ReadEEPROM", "mcp2210_8cpp.html#a8ccc5483803201158f79ebe9b01d204d", null ], 17 | [ "ReleaseMCP2210", "mcp2210_8cpp.html#afca69dafd7a0768a60da2cf80525c6b5", null ], 18 | [ "RequestSPIBusRelease", "mcp2210_8cpp.html#adfb0cd492ab9c674d4ad5a5aeabbf365", null ], 19 | [ "SendAccessPassword", "mcp2210_8cpp.html#a7de4c7ae20fcf6acbef30424395a7986", null ], 20 | [ "SendUSBCmd", "mcp2210_8cpp.html#ad2035535d0aeeaafe45fb9da0722cfad", null ], 21 | [ "SetChipSettings", "mcp2210_8cpp.html#ac141e9fbe79612eaf745ce9814ac66ee", null ], 22 | [ "SetGPIOPinDirection", "mcp2210_8cpp.html#a587186e5ac054e4239f014d6081b424f", null ], 23 | [ "SetGPIOPinVal", "mcp2210_8cpp.html#a84c0182b5a8740b40b484fbd82267af3", null ], 24 | [ "SetManufacturerProductName", "mcp2210_8cpp.html#ae0440fcfdc1adbe1a76ea6d53ae400f7", null ], 25 | [ "SetSPITransferSettings", "mcp2210_8cpp.html#a7c7fa077ea51968ef7f6d0fa8ee2fec7", null ], 26 | [ "SetUSBKeyParameters", "mcp2210_8cpp.html#a1379e6de32f81df8121a95b19afc77bf", null ], 27 | [ "SPIDataTransfer", "mcp2210_8cpp.html#aa2cfbe9757c7be3421fcef7d0bdb82eb", null ], 28 | [ "SPISendReceive", "mcp2210_8cpp.html#a0df93baf2754a041a868b2794d30c8ff", null ], 29 | [ "WriteEEPROM", "mcp2210_8cpp.html#a67f5920bb156bf436f7afbf92528dc37", null ] 30 | ]; -------------------------------------------------------------------------------- /doc/html/search/functions_67.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['get_5fdevice_5fstring',['get_device_string',['../hid_8c.html#acd5574d95a5e6b63f627ea60d66612cc',1,'hid.c']]], 4 | ['getchipsettings',['GetChipSettings',['../mcp2210_8cpp.html#a7a1ba0035d04e9e72b4db2cf5ad21220',1,'GetChipSettings(hid_device *handle, bool isVolatile): mcp2210.cpp'],['../mcp2210_8h.html#a11807ce257ba3d6bebb041e3c98a9a58',1,'GetChipSettings(hid_device *handle, bool isVolatile=true): mcp2210.cpp']]], 5 | ['getchipstatus',['GetChipStatus',['../mcp2210_8cpp.html#a7d64b0e934db7345efb94af6a316e487',1,'GetChipStatus(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#a7d64b0e934db7345efb94af6a316e487',1,'GetChipStatus(hid_device *handle): mcp2210.cpp']]], 6 | ['getgpiopindirection',['GetGPIOPinDirection',['../mcp2210_8cpp.html#a4fa41d03c61fe4ac4c68ab1653b7f0b4',1,'GetGPIOPinDirection(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#a4fa41d03c61fe4ac4c68ab1653b7f0b4',1,'GetGPIOPinDirection(hid_device *handle): mcp2210.cpp']]], 7 | ['getgpiopinvalue',['GetGPIOPinValue',['../mcp2210_8cpp.html#a3acf8cc5387dfe9b1fe8dbb5fecfb867',1,'GetGPIOPinValue(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#a3acf8cc5387dfe9b1fe8dbb5fecfb867',1,'GetGPIOPinValue(hid_device *handle): mcp2210.cpp']]], 8 | ['getmanufacturerproductname',['GetManufacturerProductName',['../mcp2210_8cpp.html#a394bb8317789fff387a1e338121a145b',1,'GetManufacturerProductName(hid_device *handle, unsigned int subCmdCode): mcp2210.cpp'],['../mcp2210_8h.html#a394bb8317789fff387a1e338121a145b',1,'GetManufacturerProductName(hid_device *handle, unsigned int subCmdCode): mcp2210.cpp']]], 9 | ['getnumofeventsfrominterruptpin',['GetNumOfEventsFromInterruptPin',['../mcp2210_8cpp.html#af4f479adbc61b93bd180a1eb541ca6ef',1,'GetNumOfEventsFromInterruptPin(hid_device *handle, byte resetCounter): mcp2210.cpp'],['../mcp2210_8h.html#af4f479adbc61b93bd180a1eb541ca6ef',1,'GetNumOfEventsFromInterruptPin(hid_device *handle, byte resetCounter): mcp2210.cpp']]], 10 | ['getspitransfersettings',['GetSPITransferSettings',['../mcp2210_8cpp.html#a28a3a304193aa5b16165a52b6be89d8e',1,'GetSPITransferSettings(hid_device *handle, bool isVolatile): mcp2210.cpp'],['../mcp2210_8h.html#ac204d847f8e7a40352ddeba810219608',1,'GetSPITransferSettings(hid_device *handle, bool isVolatile=true): mcp2210.cpp']]], 11 | ['getusbkeyparameters',['GetUSBKeyParameters',['../mcp2210_8cpp.html#a75c695b47cd5705afb8aad13a4e5751f',1,'GetUSBKeyParameters(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#a75c695b47cd5705afb8aad13a4e5751f',1,'GetUSBKeyParameters(hid_device *handle): mcp2210.cpp']]] 12 | ]; 13 | -------------------------------------------------------------------------------- /doc/html/resize.js: -------------------------------------------------------------------------------- 1 | var cookie_namespace = 'doxygen'; 2 | var sidenav,navtree,content,header; 3 | 4 | function readCookie(cookie) 5 | { 6 | var myCookie = cookie_namespace+"_"+cookie+"="; 7 | if (document.cookie) 8 | { 9 | var index = document.cookie.indexOf(myCookie); 10 | if (index != -1) 11 | { 12 | var valStart = index + myCookie.length; 13 | var valEnd = document.cookie.indexOf(";", valStart); 14 | if (valEnd == -1) 15 | { 16 | valEnd = document.cookie.length; 17 | } 18 | var val = document.cookie.substring(valStart, valEnd); 19 | return val; 20 | } 21 | } 22 | return 0; 23 | } 24 | 25 | function writeCookie(cookie, val, expiration) 26 | { 27 | if (val==undefined) return; 28 | if (expiration == null) 29 | { 30 | var date = new Date(); 31 | date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week 32 | expiration = date.toGMTString(); 33 | } 34 | document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; 35 | } 36 | 37 | function resizeWidth() 38 | { 39 | var windowWidth = $(window).width() + "px"; 40 | var sidenavWidth = $(sidenav).width(); 41 | content.css({marginLeft:parseInt(sidenavWidth)+6+"px"}); //account for 6px-wide handle-bar 42 | writeCookie('width',sidenavWidth, null); 43 | } 44 | 45 | function restoreWidth(navWidth) 46 | { 47 | var windowWidth = $(window).width() + "px"; 48 | content.css({marginLeft:parseInt(navWidth)+6+"px"}); 49 | sidenav.css({width:navWidth + "px"}); 50 | } 51 | 52 | function resizeHeight() 53 | { 54 | var headerHeight = header.height(); 55 | var footerHeight = footer.height(); 56 | var windowHeight = $(window).height() - headerHeight - footerHeight; 57 | content.css({height:windowHeight + "px"}); 58 | navtree.css({height:windowHeight + "px"}); 59 | sidenav.css({height:windowHeight + "px",top: headerHeight+"px"}); 60 | } 61 | 62 | function initResizable() 63 | { 64 | header = $("#top"); 65 | sidenav = $("#side-nav"); 66 | content = $("#doc-content"); 67 | navtree = $("#nav-tree"); 68 | footer = $("#nav-path"); 69 | $(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } }); 70 | $(window).resize(function() { resizeHeight(); }); 71 | var width = readCookie('width'); 72 | if (width) { restoreWidth(width); } else { resizeWidth(); } 73 | resizeHeight(); 74 | var url = location.href; 75 | var i=url.indexOf("#"); 76 | if (i>=0) window.location.hash=url.substr(i); 77 | var _preventDefault = function(evt) { evt.preventDefault(); }; 78 | $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); 79 | } 80 | 81 | 82 | -------------------------------------------------------------------------------- /doc/latex/refman.tex: -------------------------------------------------------------------------------- 1 | \documentclass[a4paper]{book} 2 | \usepackage{makeidx} 3 | \usepackage{natbib} 4 | \usepackage{graphicx} 5 | \usepackage{multicol} 6 | \usepackage{float} 7 | \usepackage{listings} 8 | \usepackage{color} 9 | \usepackage{ifthen} 10 | \usepackage[table]{xcolor} 11 | \usepackage{textcomp} 12 | \usepackage{alltt} 13 | \usepackage{ifpdf} 14 | \ifpdf 15 | \usepackage[pdftex, 16 | pagebackref=true, 17 | colorlinks=true, 18 | linkcolor=blue, 19 | unicode 20 | ]{hyperref} 21 | \else 22 | \usepackage[ps2pdf, 23 | pagebackref=true, 24 | colorlinks=true, 25 | linkcolor=blue, 26 | unicode 27 | ]{hyperref} 28 | \usepackage{pspicture} 29 | \fi 30 | \usepackage[utf8]{inputenc} 31 | \usepackage{mathptmx} 32 | \usepackage[scaled=.90]{helvet} 33 | \usepackage{courier} 34 | \usepackage{sectsty} 35 | \usepackage[titles]{tocloft} 36 | \usepackage{doxygen} 37 | \lstset{language=C++,inputencoding=utf8,basicstyle=\footnotesize,breaklines=true,breakatwhitespace=true,tabsize=5,numbers=left } 38 | \makeindex 39 | \setcounter{tocdepth}{3} 40 | \renewcommand{\footrulewidth}{0.4pt} 41 | \renewcommand{\familydefault}{\sfdefault} 42 | \hfuzz=15pt 43 | \setlength{\emergencystretch}{15pt} 44 | \hbadness=750 45 | \tolerance=750 46 | \begin{document} 47 | \hypersetup{pageanchor=false,citecolor=blue} 48 | \begin{titlepage} 49 | \vspace*{7cm} 50 | \begin{center} 51 | {\Large \-M\-C\-P2210 \-Library }\\ 52 | \vspace*{1cm} 53 | {\large \-Generated by Doxygen 1.7.6.1}\\ 54 | \vspace*{0.5cm} 55 | {\small Sun Oct 28 2012 20:27:19}\\ 56 | \end{center} 57 | \end{titlepage} 58 | \clearemptydoublepage 59 | \pagenumbering{roman} 60 | \tableofcontents 61 | \clearemptydoublepage 62 | \pagenumbering{arabic} 63 | \hypersetup{pageanchor=true,citecolor=blue} 64 | \chapter{\-Module \-Index} 65 | \input{modules} 66 | \chapter{\-Class \-Index} 67 | \input{annotated} 68 | \chapter{\-File \-Index} 69 | \input{files} 70 | \chapter{\-Module \-Documentation} 71 | \input{group___a_p_i} 72 | \chapter{\-Class \-Documentation} 73 | \input{struct_chip_settings_def} 74 | \input{struct_chip_status_def} 75 | \input{struct_external_interrupt_pin_status_def} 76 | \input{struct_g_p_pin} 77 | \input{struct_g_p_pin_def} 78 | \input{structhid__device__} 79 | \input{structhid__device__info} 80 | \input{struct_manufacturer_product_name_def} 81 | \input{struct_s_p_i_data_transfer_status_def} 82 | \input{struct_s_p_i_transfer_settings_def} 83 | \input{struct_u_s_b_key_parameters_def} 84 | \chapter{\-File \-Documentation} 85 | \input{_8dep_8inc} 86 | \input{hid_8c} 87 | \input{hidapi_8h} 88 | \input{mcp2210_8cpp} 89 | \input{mcp2210_8h} 90 | \input{mcp2210test_8cpp} 91 | \printindex 92 | \end{document} 93 | -------------------------------------------------------------------------------- /doc/html/hid_8c.js: -------------------------------------------------------------------------------- 1 | var hid_8c = 2 | [ 3 | [ "HIDIOCGFEATURE", "hid_8c.html#ac5092480a5db624163f7b66847e42a70", null ], 4 | [ "HIDIOCSFEATURE", "hid_8c.html#a03f650125c34f865b2ce0761095dcec9", null ], 5 | [ "device_string_id", "hid_8c.html#aa6d92ab04844f58836f237b1994e3007", null ], 6 | [ "copy_udev_string", "hid_8c.html#abae9df0dc1e8130854ede76fcf131b8f", null ], 7 | [ "get_device_string", "hid_8c.html#acd5574d95a5e6b63f627ea60d66612cc", null ], 8 | [ "hid_close", "group___a_p_i.html#ga9b64828273b8dd052731e79ba9e1a516", null ], 9 | [ "hid_enumerate", "group___a_p_i.html#ga135931e04d48078a9fb7aebf663676f9", null ], 10 | [ "hid_error", "group___a_p_i.html#ga1b5c0ca1c785b8024f5eb46750a8f606", null ], 11 | [ "hid_exit", "group___a_p_i.html#gacf5da9ce37132eba69fc259f17f13023", null ], 12 | [ "hid_free_enumeration", "group___a_p_i.html#gafc2d2adf71db3784b783b9a554527aa4", null ], 13 | [ "hid_get_feature_report", "group___a_p_i.html#ga34d43ac6da0fb785b88fcc2edf13ed65", null ], 14 | [ "hid_get_indexed_string", "group___a_p_i.html#ga03810bc0be3c21e9229feff689a9de85", null ], 15 | [ "hid_get_manufacturer_string", "group___a_p_i.html#ga2652b2ff0f3982a8c5791718e2a2e6cb", null ], 16 | [ "hid_get_product_string", "group___a_p_i.html#gaa78526041c4bb470b2c1ad9eb0791c5f", null ], 17 | [ "hid_get_serial_number_string", "group___a_p_i.html#ga73994b7820264d3604d6ee25de9c66be", null ], 18 | [ "hid_init", "group___a_p_i.html#ga142ffc1b0b7a7fa412d3862b2a17164b", null ], 19 | [ "hid_open", "group___a_p_i.html#gae6910ed9f01c4a99d25539b16800e90c", null ], 20 | [ "hid_open_path", "group___a_p_i.html#ga1e87518670f88540c920dc451df608ee", null ], 21 | [ "hid_read", "group___a_p_i.html#ga6b820f3e72097cf7f994e33715dc7af1", null ], 22 | [ "hid_read_timeout", "group___a_p_i.html#gaa5c9ed5aa290688ffac03343989ad75a", null ], 23 | [ "hid_send_feature_report", "group___a_p_i.html#gae43ab80f741786ac4374216658fd5ab3", null ], 24 | [ "hid_set_nonblocking", "group___a_p_i.html#gaf9d54208d314047727598b506577bb87", null ], 25 | [ "hid_write", "group___a_p_i.html#gad14ea48e440cf5066df87cc6488493af", null ], 26 | [ "new_hid_device", "hid_8c.html#a4a51eff11e6b5e81700d8a2f85267d5f", null ], 27 | [ "parse_uevent_info", "hid_8c.html#a8231475fac4a08db9dd6da86a5355acf", null ], 28 | [ "register_error", "hid_8c.html#ab31adac234dbe9c0059f8d027c0333a8", null ], 29 | [ "uses_numbered_reports", "hid_8c.html#aa8367d23a06060a60fde2dc6d9852f47", null ], 30 | [ "utf8_to_wchar_t", "hid_8c.html#a7159e475a48b3e88d6a5cf5ab33ed283", null ], 31 | [ "device_string_names", "hid_8c.html#a0ca67dd1130adb839438e3ae0990e952", null ], 32 | [ "kernel_version", "hid_8c.html#ab1b291184dd4fab1ce3164bcd1ecc9fe", null ] 33 | ]; -------------------------------------------------------------------------------- /nbproject/configurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | hidapi.h 8 | mcp2210.h 9 | 10 | 13 | 14 | 17 | hid.c 18 | mcp2210.cpp 19 | mcp2210test.cpp 20 | 21 | 25 | 26 | 30 | Makefile 31 | 32 | 33 | Makefile 34 | 35 | 36 | 37 | LOCAL_SOURCES 38 | default 39 | 40 | 41 | 42 | 43 | udev 44 | 45 | 46 | 47 | 48 | 49 | 50 | LOCAL_SOURCES 51 | default 52 | 53 | 54 | 55 | 5 56 | 57 | 58 | 5 59 | 60 | 61 | 5 62 | 63 | 64 | 5 65 | 66 | 67 | 68 | udev 69 | 70 | 71 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /nbproject/private/configurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Makefile 4 | 5 | 6 | 7 | localhost 8 | 2 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | gdb 24 | 25 | 26 | 27 | "${OUTPUT_PATH}" 28 | 29 | "${OUTPUT_PATH}" 30 | 31 | true 32 | 0 33 | 0 34 | 35 | 36 | 37 | 38 | 39 | 40 | localhost 41 | 2 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | gdb 57 | 58 | 59 | 60 | "${OUTPUT_PATH}" 61 | 62 | "${OUTPUT_PATH}" 63 | 64 | true 65 | 0 66 | 0 67 | 68 | 69 | 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /doc/html/installdox: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | %subst = ( ); 4 | $quiet = 0; 5 | 6 | while ( @ARGV ) { 7 | $_ = shift @ARGV; 8 | if ( s/^-// ) { 9 | if ( /^l(.*)/ ) { 10 | $v = ($1 eq "") ? shift @ARGV : $1; 11 | ($v =~ /\/$/) || ($v .= "/"); 12 | $_ = $v; 13 | if ( /(.+)\@(.+)/ ) { 14 | if ( exists $subst{$1} ) { 15 | $subst{$1} = $2; 16 | } else { 17 | print STDERR "Unknown tag file $1 given with option -l\n"; 18 | &usage(); 19 | } 20 | } else { 21 | print STDERR "Argument $_ is invalid for option -l\n"; 22 | &usage(); 23 | } 24 | } 25 | elsif ( /^q/ ) { 26 | $quiet = 1; 27 | } 28 | elsif ( /^\?|^h/ ) { 29 | &usage(); 30 | } 31 | else { 32 | print STDERR "Illegal option -$_\n"; 33 | &usage(); 34 | } 35 | } 36 | else { 37 | push (@files, $_ ); 38 | } 39 | } 40 | 41 | foreach $sub (keys %subst) 42 | { 43 | if ( $subst{$sub} eq "" ) 44 | { 45 | print STDERR "No substitute given for tag file `$sub'\n"; 46 | &usage(); 47 | } 48 | elsif ( ! $quiet && $sub ne "_doc" && $sub ne "_cgi" ) 49 | { 50 | print "Substituting $subst{$sub} for each occurrence of tag file $sub\n"; 51 | } 52 | } 53 | 54 | if ( ! @files ) { 55 | if (opendir(D,".")) { 56 | foreach $file ( readdir(D) ) { 57 | $match = ".html"; 58 | next if ( $file =~ /^\.\.?$/ ); 59 | ($file =~ /$match/) && (push @files, $file); 60 | ($file =~ /\.svg/) && (push @files, $file); 61 | ($file =~ "navtree.js") && (push @files, $file); 62 | } 63 | closedir(D); 64 | } 65 | } 66 | 67 | if ( ! @files ) { 68 | print STDERR "Warning: No input files given and none found!\n"; 69 | } 70 | 71 | foreach $f (@files) 72 | { 73 | if ( ! $quiet ) { 74 | print "Editing: $f...\n"; 75 | } 76 | $oldf = $f; 77 | $f .= ".bak"; 78 | unless (rename $oldf,$f) { 79 | print STDERR "Error: cannot rename file $oldf\n"; 80 | exit 1; 81 | } 82 | if (open(F,"<$f")) { 83 | unless (open(G,">$oldf")) { 84 | print STDERR "Error: opening file $oldf for writing\n"; 85 | exit 1; 86 | } 87 | if ($oldf ne "tree.js") { 88 | while () { 89 | s/doxygen\=\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\" (xlink:href|href|src)=\"\2/doxygen\=\"$1:$subst{$1}\" \3=\"$subst{$1}/g; 90 | print G "$_"; 91 | } 92 | } 93 | else { 94 | while () { 95 | s/\"([^ \"\:\t\>\<]*)\:([^ \"\t\>\<]*)\", \"\2/\"$1:$subst{$1}\" ,\"$subst{$1}/g; 96 | print G "$_"; 97 | } 98 | } 99 | } 100 | else { 101 | print STDERR "Warning file $f does not exist\n"; 102 | } 103 | unlink $f; 104 | } 105 | 106 | sub usage { 107 | print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n"; 108 | print STDERR "Options:\n"; 109 | print STDERR " -l tagfile\@linkName tag file + URL or directory \n"; 110 | print STDERR " -q Quiet mode\n\n"; 111 | exit 1; 112 | } 113 | -------------------------------------------------------------------------------- /doc/html/search/functions_73.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['sendaccesspassword',['SendAccessPassword',['../mcp2210_8cpp.html#a7de4c7ae20fcf6acbef30424395a7986',1,'SendAccessPassword(hid_device *handle, char *pwd, int pwdLength): mcp2210.cpp'],['../mcp2210_8h.html#a7de4c7ae20fcf6acbef30424395a7986',1,'SendAccessPassword(hid_device *handle, char *pwd, int pwdLength): mcp2210.cpp']]], 4 | ['sendusbcmd',['SendUSBCmd',['../mcp2210_8cpp.html#ad2035535d0aeeaafe45fb9da0722cfad',1,'SendUSBCmd(hid_device *handle, byte *cmdBuf, byte *responseBuf): mcp2210.cpp'],['../mcp2210_8h.html#ad2035535d0aeeaafe45fb9da0722cfad',1,'SendUSBCmd(hid_device *handle, byte *cmdBuf, byte *responseBuf): mcp2210.cpp']]], 5 | ['setchipsettings',['SetChipSettings',['../mcp2210_8cpp.html#ac141e9fbe79612eaf745ce9814ac66ee',1,'SetChipSettings(hid_device *handle, ChipSettingsDef def, bool isVolatile): mcp2210.cpp'],['../mcp2210_8h.html#accc2214dfb1d69eb9654358bdf27446a',1,'SetChipSettings(hid_device *handle, ChipSettingsDef def, bool isVolatile=true): mcp2210.cpp']]], 6 | ['setgpiopindirection',['SetGPIOPinDirection',['../mcp2210_8cpp.html#a587186e5ac054e4239f014d6081b424f',1,'SetGPIOPinDirection(hid_device *handle, GPPinDef def): mcp2210.cpp'],['../mcp2210_8h.html#a587186e5ac054e4239f014d6081b424f',1,'SetGPIOPinDirection(hid_device *handle, GPPinDef def): mcp2210.cpp']]], 7 | ['setgpiopinval',['SetGPIOPinVal',['../mcp2210_8cpp.html#a84c0182b5a8740b40b484fbd82267af3',1,'SetGPIOPinVal(hid_device *handle, GPPinDef def): mcp2210.cpp'],['../mcp2210_8h.html#a84c0182b5a8740b40b484fbd82267af3',1,'SetGPIOPinVal(hid_device *handle, GPPinDef def): mcp2210.cpp']]], 8 | ['setmanufacturerproductname',['SetManufacturerProductName',['../mcp2210_8cpp.html#ae0440fcfdc1adbe1a76ea6d53ae400f7',1,'SetManufacturerProductName(hid_device *handle, unsigned int subCmdCode, ManufacturerProductNameDef def): mcp2210.cpp'],['../mcp2210_8h.html#ae0440fcfdc1adbe1a76ea6d53ae400f7',1,'SetManufacturerProductName(hid_device *handle, unsigned int subCmdCode, ManufacturerProductNameDef def): mcp2210.cpp']]], 9 | ['setspitransfersettings',['SetSPITransferSettings',['../mcp2210_8cpp.html#a7c7fa077ea51968ef7f6d0fa8ee2fec7',1,'SetSPITransferSettings(hid_device *handle, SPITransferSettingsDef def, bool isVolatile): mcp2210.cpp'],['../mcp2210_8h.html#a13dd2cef2a3a1bb759a1feec17fb3419',1,'SetSPITransferSettings(hid_device *handle, SPITransferSettingsDef def, bool isVolatile=true): mcp2210.cpp']]], 10 | ['setusbkeyparameters',['SetUSBKeyParameters',['../mcp2210_8cpp.html#a1379e6de32f81df8121a95b19afc77bf',1,'SetUSBKeyParameters(hid_device *handle, USBKeyParametersDef def): mcp2210.cpp'],['../mcp2210_8h.html#a1379e6de32f81df8121a95b19afc77bf',1,'SetUSBKeyParameters(hid_device *handle, USBKeyParametersDef def): mcp2210.cpp']]], 11 | ['spidatatransfer',['SPIDataTransfer',['../mcp2210_8cpp.html#aa2cfbe9757c7be3421fcef7d0bdb82eb',1,'SPIDataTransfer(hid_device *handle, byte *data, int length): mcp2210.cpp'],['../mcp2210_8h.html#aa2cfbe9757c7be3421fcef7d0bdb82eb',1,'SPIDataTransfer(hid_device *handle, byte *data, int length): mcp2210.cpp']]], 12 | ['spisendreceive',['SPISendReceive',['../mcp2210_8cpp.html#a0df93baf2754a041a868b2794d30c8ff',1,'SPISendReceive(hid_device *handle, byte *data, int cmdBufferLength, int dataLength): mcp2210.cpp'],['../mcp2210_8h.html#a3ead14b01a9ff9afcec47423b4de3134',1,'SPISendReceive(hid_device *handle, byte *data, int cmdBufferLength, int dataLength=-1): mcp2210.cpp']]] 13 | ]; 14 | -------------------------------------------------------------------------------- /doc/html/search/all_67.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['get_5fdevice_5fstring',['get_device_string',['../hid_8c.html#acd5574d95a5e6b63f627ea60d66612cc',1,'hid.c']]], 4 | ['getchipsettings',['GetChipSettings',['../mcp2210_8cpp.html#a7a1ba0035d04e9e72b4db2cf5ad21220',1,'GetChipSettings(hid_device *handle, bool isVolatile): mcp2210.cpp'],['../mcp2210_8h.html#a11807ce257ba3d6bebb041e3c98a9a58',1,'GetChipSettings(hid_device *handle, bool isVolatile=true): mcp2210.cpp']]], 5 | ['getchipstatus',['GetChipStatus',['../mcp2210_8cpp.html#a7d64b0e934db7345efb94af6a316e487',1,'GetChipStatus(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#a7d64b0e934db7345efb94af6a316e487',1,'GetChipStatus(hid_device *handle): mcp2210.cpp']]], 6 | ['getgpiopindirection',['GetGPIOPinDirection',['../mcp2210_8cpp.html#a4fa41d03c61fe4ac4c68ab1653b7f0b4',1,'GetGPIOPinDirection(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#a4fa41d03c61fe4ac4c68ab1653b7f0b4',1,'GetGPIOPinDirection(hid_device *handle): mcp2210.cpp']]], 7 | ['getgpiopinvalue',['GetGPIOPinValue',['../mcp2210_8cpp.html#a3acf8cc5387dfe9b1fe8dbb5fecfb867',1,'GetGPIOPinValue(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#a3acf8cc5387dfe9b1fe8dbb5fecfb867',1,'GetGPIOPinValue(hid_device *handle): mcp2210.cpp']]], 8 | ['getmanufacturerproductname',['GetManufacturerProductName',['../mcp2210_8cpp.html#a394bb8317789fff387a1e338121a145b',1,'GetManufacturerProductName(hid_device *handle, unsigned int subCmdCode): mcp2210.cpp'],['../mcp2210_8h.html#a394bb8317789fff387a1e338121a145b',1,'GetManufacturerProductName(hid_device *handle, unsigned int subCmdCode): mcp2210.cpp']]], 9 | ['getnumofeventsfrominterruptpin',['GetNumOfEventsFromInterruptPin',['../mcp2210_8cpp.html#af4f479adbc61b93bd180a1eb541ca6ef',1,'GetNumOfEventsFromInterruptPin(hid_device *handle, byte resetCounter): mcp2210.cpp'],['../mcp2210_8h.html#af4f479adbc61b93bd180a1eb541ca6ef',1,'GetNumOfEventsFromInterruptPin(hid_device *handle, byte resetCounter): mcp2210.cpp']]], 10 | ['getspitransfersettings',['GetSPITransferSettings',['../mcp2210_8cpp.html#a28a3a304193aa5b16165a52b6be89d8e',1,'GetSPITransferSettings(hid_device *handle, bool isVolatile): mcp2210.cpp'],['../mcp2210_8h.html#ac204d847f8e7a40352ddeba810219608',1,'GetSPITransferSettings(hid_device *handle, bool isVolatile=true): mcp2210.cpp']]], 11 | ['getusbkeyparameters',['GetUSBKeyParameters',['../mcp2210_8cpp.html#a75c695b47cd5705afb8aad13a4e5751f',1,'GetUSBKeyParameters(hid_device *handle): mcp2210.cpp'],['../mcp2210_8h.html#a75c695b47cd5705afb8aad13a4e5751f',1,'GetUSBKeyParameters(hid_device *handle): mcp2210.cpp']]], 12 | ['gp',['GP',['../struct_chip_settings_def.html#aea8065ee4c940dcbde93dd1633c63f38',1,'ChipSettingsDef::GP()'],['../struct_g_p_pin_def.html#a5274d0e49d1ec54865a419b2ef722d32',1,'GPPinDef::GP()']]], 13 | ['gp_5fpin_5fdesignation_5fcs',['GP_PIN_DESIGNATION_CS',['../mcp2210_8h.html#a4db8c0b9f67bc098ea64f40d264476ab',1,'mcp2210.h']]], 14 | ['gp_5fpin_5fdesignation_5fdedicated',['GP_PIN_DESIGNATION_DEDICATED',['../mcp2210_8h.html#a49a91a96db0edf5d80e2cb72deb7c3c7',1,'mcp2210.h']]], 15 | ['gp_5fpin_5fdesignation_5fgpio',['GP_PIN_DESIGNATION_GPIO',['../mcp2210_8h.html#a4b4eebf230a61a69257570c1c511b9ab',1,'mcp2210.h']]], 16 | ['gpio_5fdirection_5finput',['GPIO_DIRECTION_INPUT',['../mcp2210_8h.html#a2424a0689fe07d992bec1a7840942613',1,'mcp2210.h']]], 17 | ['gpio_5fdirection_5foutput',['GPIO_DIRECTION_OUTPUT',['../mcp2210_8h.html#ad5672af51b60e9c00ffa9850feb75e37',1,'mcp2210.h']]], 18 | ['gpiodirection',['GPIODirection',['../struct_g_p_pin.html#a67735613380d11c71a1a447c7459bc6d',1,'GPPin']]], 19 | ['gpiooutput',['GPIOOutput',['../struct_g_p_pin.html#a1fffec9bada958b64937f51655c569e4',1,'GPPin']]], 20 | ['gppin',['GPPin',['../struct_g_p_pin.html',1,'']]], 21 | ['gppindef',['GPPinDef',['../struct_g_p_pin_def.html',1,'']]] 22 | ]; 23 | -------------------------------------------------------------------------------- /doc/latex/struct_s_p_i_data_transfer_status_def.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{struct_s_p_i_data_transfer_status_def}{\section{\-S\-P\-I\-Data\-Transfer\-Status\-Def \-Struct \-Reference} 2 | \label{struct_s_p_i_data_transfer_status_def}\index{\-S\-P\-I\-Data\-Transfer\-Status\-Def@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}} 3 | } 4 | 5 | 6 | {\ttfamily \#include $<$mcp2210.\-h$>$} 7 | 8 | \subsection*{\-Public \-Attributes} 9 | \begin{DoxyCompactItemize} 10 | \item 11 | unsigned int \hyperlink{struct_s_p_i_data_transfer_status_def_a98b49f5e7b7da8d8785c3d4a98a67449}{\-Number\-Of\-Bytes\-Received} 12 | \item 13 | unsigned int \hyperlink{struct_s_p_i_data_transfer_status_def_a4a2227f2a2c87291d918a9a3f39c5d55}{\-S\-P\-I\-Engine\-Status} 14 | \item 15 | unsigned char \hyperlink{struct_s_p_i_data_transfer_status_def_a6376a62c46b37059a74995cc4ba567b3}{\-Data\-Received} \mbox{[}60\mbox{]} 16 | \item 17 | int \hyperlink{struct_s_p_i_data_transfer_status_def_a202e947d5055ae583859ab2b1dddaede}{\-Error\-Code} 18 | \end{DoxyCompactItemize} 19 | 20 | 21 | \subsection{\-Detailed \-Description} 22 | \-S\-P\-I data transfer status definition 23 | 24 | \subsection{\-Member \-Data \-Documentation} 25 | \hypertarget{struct_s_p_i_data_transfer_status_def_a6376a62c46b37059a74995cc4ba567b3}{\index{\-S\-P\-I\-Data\-Transfer\-Status\-Def@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}!\-Data\-Received@{\-Data\-Received}} 26 | \index{\-Data\-Received@{\-Data\-Received}!SPIDataTransferStatusDef@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}} 27 | \subsubsection[{\-Data\-Received}]{\setlength{\rightskip}{0pt plus 5cm}unsigned char {\bf \-S\-P\-I\-Data\-Transfer\-Status\-Def\-::\-Data\-Received}\mbox{[}60\mbox{]}}}\label{struct_s_p_i_data_transfer_status_def_a6376a62c46b37059a74995cc4ba567b3} 28 | \-The buffer contains received data. \-Actual amount of data is determined by \-Number\-Of\-Bytes\-Received. \hypertarget{struct_s_p_i_data_transfer_status_def_a202e947d5055ae583859ab2b1dddaede}{\index{\-S\-P\-I\-Data\-Transfer\-Status\-Def@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}!\-Error\-Code@{\-Error\-Code}} 29 | \index{\-Error\-Code@{\-Error\-Code}!SPIDataTransferStatusDef@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}} 30 | \subsubsection[{\-Error\-Code}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-S\-P\-I\-Data\-Transfer\-Status\-Def\-::\-Error\-Code}}}\label{struct_s_p_i_data_transfer_status_def_a202e947d5055ae583859ab2b1dddaede} 31 | \-The error code returned \hypertarget{struct_s_p_i_data_transfer_status_def_a98b49f5e7b7da8d8785c3d4a98a67449}{\index{\-S\-P\-I\-Data\-Transfer\-Status\-Def@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}!\-Number\-Of\-Bytes\-Received@{\-Number\-Of\-Bytes\-Received}} 32 | \index{\-Number\-Of\-Bytes\-Received@{\-Number\-Of\-Bytes\-Received}!SPIDataTransferStatusDef@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}} 33 | \subsubsection[{\-Number\-Of\-Bytes\-Received}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-S\-P\-I\-Data\-Transfer\-Status\-Def\-::\-Number\-Of\-Bytes\-Received}}}\label{struct_s_p_i_data_transfer_status_def_a98b49f5e7b7da8d8785c3d4a98a67449} 34 | \-Number of bytes received \hypertarget{struct_s_p_i_data_transfer_status_def_a4a2227f2a2c87291d918a9a3f39c5d55}{\index{\-S\-P\-I\-Data\-Transfer\-Status\-Def@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}!\-S\-P\-I\-Engine\-Status@{\-S\-P\-I\-Engine\-Status}} 35 | \index{\-S\-P\-I\-Engine\-Status@{\-S\-P\-I\-Engine\-Status}!SPIDataTransferStatusDef@{\-S\-P\-I\-Data\-Transfer\-Status\-Def}} 36 | \subsubsection[{\-S\-P\-I\-Engine\-Status}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-S\-P\-I\-Data\-Transfer\-Status\-Def\-::\-S\-P\-I\-Engine\-Status}}}\label{struct_s_p_i_data_transfer_status_def_a4a2227f2a2c87291d918a9a3f39c5d55} 37 | \-S\-P\-I transfer engine status 38 | 39 | 0x10\-: \-S\-P\-I transfer finished, no data to send 0x20\-: \-S\-P\-I transfer started, no data to receive 0x30\-: \-S\-P\-I data accepted, command completed successfully 40 | 41 | \-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} 42 | \item 43 | \hyperlink{mcp2210_8h}{mcp2210.\-h}\end{DoxyCompactItemize} 44 | -------------------------------------------------------------------------------- /doc/latex/struct_manufacturer_product_name_def.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{struct_manufacturer_product_name_def}{\section{\-Manufacturer\-Product\-Name\-Def \-Struct \-Reference} 2 | \label{struct_manufacturer_product_name_def}\index{\-Manufacturer\-Product\-Name\-Def@{\-Manufacturer\-Product\-Name\-Def}} 3 | } 4 | 5 | 6 | {\ttfamily \#include $<$mcp2210.\-h$>$} 7 | 8 | \subsection*{\-Public \-Attributes} 9 | \begin{DoxyCompactItemize} 10 | \item 11 | unsigned int \hyperlink{struct_manufacturer_product_name_def_a78178464ccb77610a03691701cca017e}{\-U\-S\-B\-String\-Descriptor\-Length} 12 | \item 13 | unsigned int \hyperlink{struct_manufacturer_product_name_def_a338f0d675fb05fabd7654239ca9b878d}{\-U\-S\-B\-String\-Descriptor\-I\-D} 14 | \item 15 | char \hyperlink{struct_manufacturer_product_name_def_ae0bc4c8cdce9488bdb26da7850e7fe84}{\-Manufacturer\-Product\-Name} \mbox{[}59\mbox{]} 16 | \item 17 | int \hyperlink{struct_manufacturer_product_name_def_a826000ba27e897acf51b987c78d62861}{\-Error\-Code} 18 | \end{DoxyCompactItemize} 19 | 20 | 21 | \subsection{\-Detailed \-Description} 22 | \-U\-S\-B manufacturer name/product name definition 23 | 24 | \subsection{\-Member \-Data \-Documentation} 25 | \hypertarget{struct_manufacturer_product_name_def_a826000ba27e897acf51b987c78d62861}{\index{\-Manufacturer\-Product\-Name\-Def@{\-Manufacturer\-Product\-Name\-Def}!\-Error\-Code@{\-Error\-Code}} 26 | \index{\-Error\-Code@{\-Error\-Code}!ManufacturerProductNameDef@{\-Manufacturer\-Product\-Name\-Def}} 27 | \subsubsection[{\-Error\-Code}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Manufacturer\-Product\-Name\-Def\-::\-Error\-Code}}}\label{struct_manufacturer_product_name_def_a826000ba27e897acf51b987c78d62861} 28 | \-The error code returned \hypertarget{struct_manufacturer_product_name_def_ae0bc4c8cdce9488bdb26da7850e7fe84}{\index{\-Manufacturer\-Product\-Name\-Def@{\-Manufacturer\-Product\-Name\-Def}!\-Manufacturer\-Product\-Name@{\-Manufacturer\-Product\-Name}} 29 | \index{\-Manufacturer\-Product\-Name@{\-Manufacturer\-Product\-Name}!ManufacturerProductNameDef@{\-Manufacturer\-Product\-Name\-Def}} 30 | \subsubsection[{\-Manufacturer\-Product\-Name}]{\setlength{\rightskip}{0pt plus 5cm}char {\bf \-Manufacturer\-Product\-Name\-Def\-::\-Manufacturer\-Product\-Name}\mbox{[}59\mbox{]}}}\label{struct_manufacturer_product_name_def_ae0bc4c8cdce9488bdb26da7850e7fe84} 31 | \-The manufacture name/product name \hypertarget{struct_manufacturer_product_name_def_a338f0d675fb05fabd7654239ca9b878d}{\index{\-Manufacturer\-Product\-Name\-Def@{\-Manufacturer\-Product\-Name\-Def}!\-U\-S\-B\-String\-Descriptor\-I\-D@{\-U\-S\-B\-String\-Descriptor\-I\-D}} 32 | \index{\-U\-S\-B\-String\-Descriptor\-I\-D@{\-U\-S\-B\-String\-Descriptor\-I\-D}!ManufacturerProductNameDef@{\-Manufacturer\-Product\-Name\-Def}} 33 | \subsubsection[{\-U\-S\-B\-String\-Descriptor\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-Manufacturer\-Product\-Name\-Def\-::\-U\-S\-B\-String\-Descriptor\-I\-D}}}\label{struct_manufacturer_product_name_def_a338f0d675fb05fabd7654239ca9b878d} 34 | \-U\-S\-B string descriptor \-I\-D \-Fixed value\-: 0x03 \hypertarget{struct_manufacturer_product_name_def_a78178464ccb77610a03691701cca017e}{\index{\-Manufacturer\-Product\-Name\-Def@{\-Manufacturer\-Product\-Name\-Def}!\-U\-S\-B\-String\-Descriptor\-Length@{\-U\-S\-B\-String\-Descriptor\-Length}} 35 | \index{\-U\-S\-B\-String\-Descriptor\-Length@{\-U\-S\-B\-String\-Descriptor\-Length}!ManufacturerProductNameDef@{\-Manufacturer\-Product\-Name\-Def}} 36 | \subsubsection[{\-U\-S\-B\-String\-Descriptor\-Length}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-Manufacturer\-Product\-Name\-Def\-::\-U\-S\-B\-String\-Descriptor\-Length}}}\label{struct_manufacturer_product_name_def_a78178464ccb77610a03691701cca017e} 37 | \-Total \-U\-S\-B string descriptor length 38 | 39 | \-Note, the string is in unicode and the total length is the length of the string descriptor plus 2 bytes 40 | 41 | \-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} 42 | \item 43 | \hyperlink{mcp2210_8h}{mcp2210.\-h}\end{DoxyCompactItemize} 44 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # There exist several targets which are by default empty and which can be 3 | # used for execution of your targets. These targets are usually executed 4 | # before and after some main targets. They are: 5 | # 6 | # .build-pre: called before 'build' target 7 | # .build-post: called after 'build' target 8 | # .clean-pre: called before 'clean' target 9 | # .clean-post: called after 'clean' target 10 | # .clobber-pre: called before 'clobber' target 11 | # .clobber-post: called after 'clobber' target 12 | # .all-pre: called before 'all' target 13 | # .all-post: called after 'all' target 14 | # .help-pre: called before 'help' target 15 | # .help-post: called after 'help' target 16 | # 17 | # Targets beginning with '.' are not intended to be called on their own. 18 | # 19 | # Main targets can be executed directly, and they are: 20 | # 21 | # build build a specific configuration 22 | # clean remove built files from a configuration 23 | # clobber remove all built files 24 | # all build all configurations 25 | # help print help mesage 26 | # 27 | # Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and 28 | # .help-impl are implemented in nbproject/makefile-impl.mk. 29 | # 30 | # Available make variables: 31 | # 32 | # CND_BASEDIR base directory for relative paths 33 | # CND_DISTDIR default top distribution directory (build artifacts) 34 | # CND_BUILDDIR default top build directory (object files, ...) 35 | # CONF name of current configuration 36 | # CND_PLATFORM_${CONF} platform name (current configuration) 37 | # CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) 38 | # CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) 39 | # CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) 40 | # CND_PACKAGE_DIR_${CONF} directory of package (current configuration) 41 | # CND_PACKAGE_NAME_${CONF} name of package (current configuration) 42 | # CND_PACKAGE_PATH_${CONF} path to package (current configuration) 43 | # 44 | # NOCDDL 45 | 46 | 47 | # Environment 48 | MKDIR=mkdir 49 | CP=cp 50 | CCADMIN=CCadmin 51 | 52 | 53 | # build 54 | build: .build-post 55 | 56 | .build-pre: 57 | # Add your pre 'build' code here... 58 | 59 | .build-post: .build-impl 60 | # Add your post 'build' code here... 61 | 62 | 63 | # clean 64 | clean: .clean-post 65 | 66 | .clean-pre: 67 | # Add your pre 'clean' code here... 68 | 69 | .clean-post: .clean-impl 70 | # Add your post 'clean' code here... 71 | 72 | 73 | # clobber 74 | clobber: .clobber-post 75 | 76 | .clobber-pre: 77 | # Add your pre 'clobber' code here... 78 | 79 | .clobber-post: .clobber-impl 80 | # Add your post 'clobber' code here... 81 | 82 | 83 | # all 84 | all: .all-post 85 | 86 | .all-pre: 87 | # Add your pre 'all' code here... 88 | 89 | .all-post: .all-impl 90 | # Add your post 'all' code here... 91 | 92 | 93 | # build tests 94 | build-tests: .build-tests-post 95 | 96 | .build-tests-pre: 97 | # Add your pre 'build-tests' code here... 98 | 99 | .build-tests-post: .build-tests-impl 100 | # Add your post 'build-tests' code here... 101 | 102 | 103 | # run tests 104 | test: .test-post 105 | 106 | .test-pre: 107 | # Add your pre 'test' code here... 108 | 109 | .test-post: .test-impl 110 | # Add your post 'test' code here... 111 | 112 | 113 | # help 114 | help: .help-post 115 | 116 | .help-pre: 117 | # Add your pre 'help' code here... 118 | 119 | .help-post: .help-impl 120 | # Add your post 'help' code here... 121 | 122 | 123 | 124 | # include project implementation makefile 125 | include nbproject/Makefile-impl.mk 126 | 127 | # include project make variables 128 | include nbproject/Makefile-variables.mk 129 | -------------------------------------------------------------------------------- /doc/latex/struct_chip_status_def.tex: -------------------------------------------------------------------------------- 1 | \hypertarget{struct_chip_status_def}{\section{\-Chip\-Status\-Def \-Struct \-Reference} 2 | \label{struct_chip_status_def}\index{\-Chip\-Status\-Def@{\-Chip\-Status\-Def}} 3 | } 4 | 5 | 6 | {\ttfamily \#include $<$mcp2210.\-h$>$} 7 | 8 | \subsection*{\-Public \-Attributes} 9 | \begin{DoxyCompactItemize} 10 | \item 11 | unsigned int \hyperlink{struct_chip_status_def_ac1422f04b7345187a77b5d506dc8a492}{\-S\-P\-I\-Bus\-Release\-Ext\-Req\-Stat} 12 | \item 13 | unsigned int \hyperlink{struct_chip_status_def_ac8d8808a7cf921e77831dc4e30e8d096}{\-S\-P\-I\-Bus\-Current\-Owner} 14 | \item 15 | unsigned int \hyperlink{struct_chip_status_def_a775f8cb07137f324ce59e7bbc961fd55}{\-Attempted\-P\-W\-D\-Accesses} 16 | \item 17 | unsigned int \hyperlink{struct_chip_status_def_ae83bf4d444de30c1a451f9aef7ce4d6f}{\-Password\-Guessed} 18 | \item 19 | int \hyperlink{struct_chip_status_def_ab359484a0244ec153c49f0af23c2d29b}{\-Error\-Code} 20 | \end{DoxyCompactItemize} 21 | 22 | 23 | \subsection{\-Detailed \-Description} 24 | \-M\-C\-P2210 status definition 25 | 26 | \subsection{\-Member \-Data \-Documentation} 27 | \hypertarget{struct_chip_status_def_a775f8cb07137f324ce59e7bbc961fd55}{\index{\-Chip\-Status\-Def@{\-Chip\-Status\-Def}!\-Attempted\-P\-W\-D\-Accesses@{\-Attempted\-P\-W\-D\-Accesses}} 28 | \index{\-Attempted\-P\-W\-D\-Accesses@{\-Attempted\-P\-W\-D\-Accesses}!ChipStatusDef@{\-Chip\-Status\-Def}} 29 | \subsubsection[{\-Attempted\-P\-W\-D\-Accesses}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-Chip\-Status\-Def\-::\-Attempted\-P\-W\-D\-Accesses}}}\label{struct_chip_status_def_a775f8cb07137f324ce59e7bbc961fd55} 30 | \-Attempted password accesses informs the \-U\-S\-B host on how many times the \-N\-V\-R\-A\-M password was tried \hypertarget{struct_chip_status_def_ab359484a0244ec153c49f0af23c2d29b}{\index{\-Chip\-Status\-Def@{\-Chip\-Status\-Def}!\-Error\-Code@{\-Error\-Code}} 31 | \index{\-Error\-Code@{\-Error\-Code}!ChipStatusDef@{\-Chip\-Status\-Def}} 32 | \subsubsection[{\-Error\-Code}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf \-Chip\-Status\-Def\-::\-Error\-Code}}}\label{struct_chip_status_def_ab359484a0244ec153c49f0af23c2d29b} 33 | \-The error code returned \hypertarget{struct_chip_status_def_ae83bf4d444de30c1a451f9aef7ce4d6f}{\index{\-Chip\-Status\-Def@{\-Chip\-Status\-Def}!\-Password\-Guessed@{\-Password\-Guessed}} 34 | \index{\-Password\-Guessed@{\-Password\-Guessed}!ChipStatusDef@{\-Chip\-Status\-Def}} 35 | \subsubsection[{\-Password\-Guessed}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-Chip\-Status\-Def\-::\-Password\-Guessed}}}\label{struct_chip_status_def_ae83bf4d444de30c1a451f9aef7ce4d6f} 36 | \-Whether the password was guessed 37 | 38 | 0x00\-: password not guessed 0x01\-: password guessed \hypertarget{struct_chip_status_def_ac8d8808a7cf921e77831dc4e30e8d096}{\index{\-Chip\-Status\-Def@{\-Chip\-Status\-Def}!\-S\-P\-I\-Bus\-Current\-Owner@{\-S\-P\-I\-Bus\-Current\-Owner}} 39 | \index{\-S\-P\-I\-Bus\-Current\-Owner@{\-S\-P\-I\-Bus\-Current\-Owner}!ChipStatusDef@{\-Chip\-Status\-Def}} 40 | \subsubsection[{\-S\-P\-I\-Bus\-Current\-Owner}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-Chip\-Status\-Def\-::\-S\-P\-I\-Bus\-Current\-Owner}}}\label{struct_chip_status_def_ac8d8808a7cf921e77831dc4e30e8d096} 41 | \-S\-P\-I bus current owner 42 | 43 | 0x00\-: no owner 0x01\-: \-U\-S\-B bridge 0x02\-: \-External master \hypertarget{struct_chip_status_def_ac1422f04b7345187a77b5d506dc8a492}{\index{\-Chip\-Status\-Def@{\-Chip\-Status\-Def}!\-S\-P\-I\-Bus\-Release\-Ext\-Req\-Stat@{\-S\-P\-I\-Bus\-Release\-Ext\-Req\-Stat}} 44 | \index{\-S\-P\-I\-Bus\-Release\-Ext\-Req\-Stat@{\-S\-P\-I\-Bus\-Release\-Ext\-Req\-Stat}!ChipStatusDef@{\-Chip\-Status\-Def}} 45 | \subsubsection[{\-S\-P\-I\-Bus\-Release\-Ext\-Req\-Stat}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int {\bf \-Chip\-Status\-Def\-::\-S\-P\-I\-Bus\-Release\-Ext\-Req\-Stat}}}\label{struct_chip_status_def_ac1422f04b7345187a77b5d506dc8a492} 46 | \-S\-P\-I bus release external request status 47 | 48 | 0x01\-: no external request for \-S\-P\-I bus release 0x00\-: pending external request for \-S\-P\-I bus release 49 | 50 | \-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} 51 | \item 52 | \hyperlink{mcp2210_8h}{mcp2210.\-h}\end{DoxyCompactItemize} 53 | --------------------------------------------------------------------------------