請先看『使用說明』
IO Device:F81966 LPC DIO under Windows
From LEXWiKi
(Difference between revisions)
												
			
			 (→The Sample code source you can download from)  | 
				 (→The Sample code source you can download from)  | 
			||
| Line 1: | Line 1: | ||
[[Category:AllowPages]]  | [[Category:AllowPages]]  | ||
== The Sample code source you can download from ==  | == The Sample code source you can download from ==  | ||
| + | |||
| + | <Google Drive>  | ||
Source file:   | Source file:   | ||
| Line 12: | Line 14: | ||
[https://drive.google.com/file/d/15FW4VS7rAS3-A_neiVJyla9yIM74_nCQ/view?usp=sharing F81966_DLL_v1.0_x86 ]  | [https://drive.google.com/file/d/15FW4VS7rAS3-A_neiVJyla9yIM74_nCQ/view?usp=sharing F81966_DLL_v1.0_x86 ]  | ||
[https://drive.google.com/file/d/1C4R-zBqCEaqHHQd6p0l-bsfu6Ew-BU9L/view?usp=sharing F81966_DLL_v1.0_x64 ]  | [https://drive.google.com/file/d/1C4R-zBqCEaqHHQd6p0l-bsfu6Ew-BU9L/view?usp=sharing F81966_DLL_v1.0_x64 ]  | ||
| + | |||
| + | <FTP>  | ||
| + | |||
| + | Source file:   | ||
| + | [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F81966_LPC_DIO/windows_base/F81966_LPC_GPIO_Utility_Src_v1.5.zip F81966_LPC_GPIO_Utility_v1.5_Src]  | ||
| + | |||
| + | Binary file:   | ||
| + | [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F81966_LPC_DIO/windows_base/F81966_LPC_GPIO_Utility_Bin_x86_v1.5.zip F81966_LPC_GPIO_Utility_v1.5_Bin_x86]  | ||
| + | [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F81966_LPC_DIO/windows_base/F81966_LPC_GPIO_Utility_Bin_x64_v1.5.zip F81966_LPC_GPIO_Utility_v1.5_Bin_x64]  | ||
| + | |||
| + | F81966 DLL :  | ||
| + | [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F81966_LPC_DIO/windows_base/F81966_DLL_x32_v1.0.zip F81966_DLL_v1.0_x86 ]  | ||
| + | [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F81966_LPC_DIO/windows_base/F81966_DLL_x64_v1.0.zip F81966_DLL_v1.0_x64 ]  | ||
== Introduction F81966 DIO==  | == Introduction F81966 DIO==  | ||
Revision as of 12:34, 25 February 2022
Contents | 
The Sample code source you can download from
<Google Drive>
Source file: [fhttps://drive.google.com/file/d/1MPLuJXDU0ssJRtYqPHzusgGnoZr7ue2b/view?usp=sharing F81966_LPC_GPIO_Utility_v1.5_Src]
Binary file: F81966_LPC_GPIO_Utility_v1.5_Bin_x86 F81966_LPC_GPIO_Utility_v1.5_Bin_x64
F81966 DLL : F81966_DLL_v1.0_x86 F81966_DLL_v1.0_x64
<FTP>
Source file: F81966_LPC_GPIO_Utility_v1.5_Src
Binary file: F81966_LPC_GPIO_Utility_v1.5_Bin_x86 F81966_LPC_GPIO_Utility_v1.5_Bin_x64
F81966 DLL : F81966_DLL_v1.0_x86 F81966_DLL_v1.0_x64
Introduction F81966 DIO
- Start test Button,Send bits one by one and one by one receive
 - CIO116 mode for CIO116 module use
 - Set time countdown,If the end of the countdown, the trigger signal to reboot
 - Enable loop ,Continuously reset the WDT to ensure that when the system is normal, the restart signal will not be triggered
 
F81966_DLL Function
F81966_DLL_API bool F81966_LPC_Init(pF81966_status status); F81966_DLL_API BYTE F81966_LPC_Digital_Read_LOW(); F81966_DLL_API void F81966_LPC_Digital_Write_LOW(BYTE byteValue); F81966_DLL_API BYTE F81966_LPC_Digital_Read_HIGH(); F81966_DLL_API void F81966_LPC_Digital_Write_HIGH(BYTE byteValue); F81966_DLL_API void F81966_LPC_Set_WDT_Enable(BYTE byteValue); F81966_DLL_API void F81966_LPC_Set_WDT_Disable();
Digital Input/Ooutput test
Note when using the following boards:2I110D
CIO1 needs to be controlled by CIO3

sample code
Set CIO1 CIO2 Digital Output all high F81966_LPC_Digital_Write_LOW(256); Set CIO1 CIO2 Digital Output all low F81966_LPC_Digital_Write_LOW(0); Set CIO1 Digital Output bit 4 high F81966_LPC_Digital_Write_LOW(16); Set CIO2 Digital Output bit 10 high F81966_LPC_Digital_Write_HIGH(4);
Read Din value = F81966_LPC_Digital_Read_LOW();
Watch Dog test
sample code
Set WDT 10 sec F81966_LPC_Set_WDT_Enable(10);
Disable WDT F81966_LPC_Set_WDT_Disable();

