E P I C B o a r d
E P I C - K B 0 7
Appendix E DIO
E-5
The following is a sample code for 8 in (DIO 0-7) 8 out (DIO 8-15, 4
low 4 high)
Outportb(0x2E,0x87); //enter configuration
Outportb(0x2E,0x87);
Outportb(0x2E,0x07); //set LDN
Outportb(0x2F,0x06);
Outportb(0x2E,0x88); //GPIO set 8 register
Outportb(0x2F,0x00); //Set GPIO8x (DIO 0-7) as input mode
Outportb(0x2E,0x80); //GPIO set 7 register
Outportb(0x2F,0xFF); //Set GPIO7x (DIO 8-15) as output mode
Outportb(0x2E,0x81); //GPIO output data register
Outportb(0x2F,0xF0); //DIO 8-11 as Low, DIO 9-15 as high
Outportb(0x2E,0xAA); //exit configuration
Содержание EPIC-KB07
Страница 9: ...EPIC Board E P I C K B 0 7 Chapter 1 General Information 1 1 General Information Chapter 1...
Страница 15: ...EPIC Board E P I C K B 0 7 Chapter 2 Quick Installation Guide 2 1 Quick Installation Guide Chapter 2...
Страница 63: ...EPIC Board E P I C K B 0 7 Chapter 2 Quick Installation Guide 2 49 18 5V PWR 5V 19 HPLG_DETECT...
Страница 65: ...EPIC Board E P I C K B 0 7 Chapter 3 AMI BIOS Setup 3 1 AMI BIOS Setup Chapter 3...
Страница 72: ...EPIC Board E P I C K B 0 7 Chapter 3 AMI BIOS Setup 3 8 CPU Configuration...
Страница 95: ...EPIC Board E P I C K B 0 7 Chapter 3 AMI BIOS Setup 3 31 Restore the User Defaults to all the setup options...
Страница 96: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 1 Driver Installation Chapter 4...
Страница 101: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 6...
Страница 102: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 7...
Страница 103: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 8 For Windows 8...
Страница 104: ...EPIC Board E P I C K B 0 7 Chapter 4 Driver Installation 4 9...
Страница 107: ...EPIC Board E P I C K B 0 7 Appendix A Programming the Watchdog Timer A 1 Programming the Watchdog Timer Appendix A...
Страница 114: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 1 I O Information Appendix B...
Страница 115: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 2 B 1 I O Address Map...
Страница 116: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 3...
Страница 117: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 4 B 2 Memory Address Map...
Страница 118: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 5 B 3 IRQ Mapping Chart...
Страница 119: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 6...
Страница 120: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 7...
Страница 121: ...EPIC Board E P I C K B 0 7 Appendix B I O Information B 8 B 4 DMA Channel Assignments...
Страница 122: ...EPIC Board E P I C K B 0 7 Appendix C Mating Connector C 1 Mating Connector Appendix C...
Страница 128: ...EPIC Board E P I C K B 0 7 Appendix E DIO E 1 DIO Appendix E...
Страница 129: ...EPIC Board E P I C K B 0 7 Appendix E DIO E 2 E 1 DIO The related register for configuring DIO is list as follows...
Страница 130: ...EPIC Board E P I C K B 0 7 Appendix E DIO E 3...
Страница 131: ...EPIC Board E P I C K B 0 7 Appendix E DIO E 4...