Sign In
Upload
Download
Table of Contents
Contents
Add to my manuals
Delete from my manuals
Share
URL of this page:
HTML Link:
Bookmark this page
Add
Manual will be automatically added to "My Manuals"
Print this page
×
Bookmark added
×
Added to my manuals
Manuals
Brands
Quanmax Manuals
Single board computers
ECX-APL0 Series
User manual
Quanmax ECX-APL0 Series User Manual page 62
3.5" ecx single board computer with intel apollo lake soc processors
Hide thumbs
1
2
Table Of Contents
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
page
of
65
Go
/
65
Contents
Table of Contents
Bookmarks
Table of Contents
Advertisement
{
RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]);
RetVal = RetVal & 0xFFFFFCFF;
gGpioLvValue = RetVal | 0x200; //Set RX Disable(Bit9)
write_mem_dword(MEM_BASE_ADDRESS + addr_offset[i], gGpioLvValue);
}
//Write the DIO pin 1~8 to High
printf("Write DIO_1~8 value to High\n");
for (i=0; i<8; i++)
{
RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]);
gGpioLvValue = RetVal | 0x1;
write_mem_dword(MEM_BASE_ADDRESS + addr_offset[i], gGpioLvValue);
}
printf("Read DIO_1~8 value\n");
for (i=0; i<8; i++)
{
RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]);
gGpioLvValue = RetVal & 0x1;
printf("DIO_%d = %d\n",i+1 ,gGpioLvValue > 0);
}
into_RL_mode();
system("pause");
//Write the DIO pin 1~8 to Low
into_PT_mode();
printf("Write DIO_1~8 value to Low\n");
for (i=0; i<8; i++)
{
RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]);
gGpioLvValue = RetVal & 0xFFFFFFFE;
write_mem_dword(MEM_BASE_ADDRESS + addr_offset[i], gGpioLvValue);
}
printf("Read DIO_1~8 value\n");
for (i=0; i<8; i++)
{
RetVal = read_mem_dword(MEM_BASE_ADDRESS + addr_offset[i]);
ECX-APL0 Series User's Manual
62
Appendix A
Table of
Contents
Previous
Page
Next
Page
1
...
59
60
61
62
63
64
65
Advertisement
Table of Contents
Related Manuals for Quanmax ECX-APL0 Series
Single board computers Quanmax ECX-BW00 User Manual
Single board computer in intel ecx form factor with intel braswell soc quad core processor, celeron n3160 (63 pages)
Related Products for Quanmax ECX-APL0 Series
Quanmax ECX-BW00
Quanmax ECX-SLU0 Series
Quanmax ECX-KLU0 Series
Table of Contents
Print
Rename the bookmark
Delete bookmark?
Delete from my manuals?
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL