Appendix C
–
Programming Digital I/O
74
CO
M
E
xp
re
ss
M
od
ul
e
CO
M
-B
YT
C2
C.2 Digital I/O Sample Program
************************************************************************************
// Embedded BRAM relative definition (Please reference to Table 1)
#define byte EcBRAMIndex //This parameter is represented from Note1
#define byte EcBRAMData //This parameter is represented from Note2
#define byte BRAMLDNReg //This parameter is represented from Note3
#define byte BRAMFnData0Reg //This parameter is represented from Note4
#define byte BRAMFnData1Reg //This parameter is represented from Note5
#define void EcBRAMWriteByte(byte Offset, byte Value);
#define byte EcBRAMReadByte(byte Offset);
#define void IOWriteByte(byte Offset, byte Value);
#define byte IOReadByte(byte Offset);
// Digital Input Status relative definition (Please reference to Table 2)
#define byte DIO0ToDIO7Reg // This parameter is represented from Note6
#define byte DIO0Bit // This parameter is represented from Note7
#define byte DIO1Bit // This parameter is represented from Note8
#define byte DIO2Bit // This parameter is represented from Note9
#define byte DIO3Bit // This parameter is represented from Note10
#define byte DIO4Bit // This parameter is represented from Note11
#define byte DIO5Bit // This parameter is represented from Note12
#define byte DIO6Bit // This parameter is represented from Note13
#define byte DIO7Bit // This parameter is represented from Note14
#define byte DIO0Val // This parameter is represented from Note15
#define byte DIO1Val // This parameter is represented from Note16
#define byte DIO2Val // This parameter is represented from Note17
#define byte DIO3Val // This parameter is represented from Note18
#define byte DIO4Val // This parameter is represented from Note19
#define byte DIO5Val // This parameter is represented from Note20
#define byte DIO6Val // This parameter is represented from Note21
#define byte DIO7Val // This parameter is represented from Note22
************************************************************************************
Summary of Contents for AAEON COM-BYTC2
Page 1: ...Last Updated October 12 2021 COM BYTC2 COM Express Module User s Manual 3rd Ed ...
Page 13: ...COM Express Module COM BYTC2 Chapter 1 Chapter 1 Product Specifications ...
Page 16: ...COM Express Module COM BYTC2 Chapter 2 Chapter 2 Hardware Information ...
Page 18: ...Chapter 2 Hardware Information 6 COM Express Module COM BYTC2 ...
Page 35: ...COM Express Module COM BYTC2 Chapter 3 Chapter 3 AMI BIOS Setup ...
Page 39: ...Chapter 3 AMI BIOS Setup 27 COM Express Module COM BYTC2 3 4 Setup submenu Advanced ...
Page 43: ...Chapter 3 AMI BIOS Setup 31 COM Express Module COM BYTC2 3 4 4 Advanced On Module H W Monitor ...
Page 46: ...Chapter 3 AMI BIOS Setup 34 COM Express Module COM BYTC2 3 4 7 Advanced SIO Configuration ...
Page 48: ...Chapter 3 AMI BIOS Setup 36 COM Express Module COM BYTC2 3 5 Setup submenu Chipset ...
Page 52: ...Chapter 3 AMI BIOS Setup 40 COM Express Module COM BYTC2 60 50 40 30 20 10 0 ...
Page 57: ...Chapter 3 AMI BIOS Setup 45 COM Express Module COM BYTC2 3 7 1 Boot Hard Drive BBS Priorities ...
Page 58: ...Chapter 3 AMI BIOS Setup 46 COM Express Module COM BYTC2 3 8 Setup submenu Save Exit ...
Page 59: ...COM Express Module COM SKHB6 Chapter 4 Chapter 4 Drivers Installation ...
Page 62: ...COM Express Module COM BYTC2 Appendix A Appendix A Watchdog Timer Programming ...
Page 68: ...COM Express Module COM BYTC2 Appendix B Appendix B I O Information ...
Page 69: ...Appendix B I O Information 57 COM Express Module COM BYTC2 B 1 I O Address Map ...
Page 70: ...Appendix B I O Information 58 COM Express Module COM BYTC2 ...
Page 71: ...Appendix B I O Information 59 COM Express Module COM BYTC2 B 2 Memory Address Map ...
Page 72: ...Appendix B I O Information 60 COM Express Module COM BYTC2 B 3 IRQ Mapping Chart ...
Page 73: ...Appendix B I O Information 61 COM Express Module COM BYTC2 ...
Page 74: ...Appendix B I O Information 62 COM Express Module COM BYTC2 ...
Page 75: ...Appendix B I O Information 63 COM Express Module COM BYTC2 ...
Page 76: ...Appendix B I O Information 64 COM Express Module COM BYTC2 ...
Page 77: ...Appendix B I O Information 65 COM Express Module COM BYTC2 ...
Page 78: ...Appendix B I O Information 66 COM Express Module COM BYTC2 ...
Page 79: ...Appendix B I O Information 67 COM Express Module COM BYTC2 ...
Page 80: ...Appendix B I O Information 68 COM Express Module COM BYTC2 ...
Page 81: ...Appendix B I O Information 69 COM Express Module COM BYTC2 ...
Page 82: ...Appendix B I O Information 70 COM Express Module COM BYTC2 ...
Page 83: ...Appendix B I O Information 71 COM Express Module COM BYTC2 ...
Page 84: ...COM Express Module COM BYTC2 Appendix C Appendix C Programming Digital I O ...
Page 90: ...COM Express Module COM BYTC2 Appendix D Appendix D Notes for Users ...