Appendix C – Programming Digital I/O
83
COM
E
xp
res
s Mo
du
le
COM
-BT
-A30
C.3 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-BT-A30
Page 1: ...Last Updated June 17 2019 COM BT A30 COM Express Module User s Manual 3rd Ed ...
Page 13: ...COM Express Module COM BT A30 Chapter 1 Chapter 1 Product Specifications ...
Page 16: ...COM Express Module COM BT A30 Chapter 2 Chapter 2 Hardware Information ...
Page 17: ...Chapter 2 Hardware Information 5 COM Express Module COM BT A30 2 1 Dimensions Component Side ...
Page 18: ...Chapter 2 Hardware Information 6 COM Express Module COM BT A30 Solder Side With Heat spreader ...
Page 20: ...Chapter 2 Hardware Information 8 COM Express Module COM BT A30 Solder Side ...
Page 41: ...COM Express Module COM BT A30 Chapter 3 Chapter 3 AMI BIOS Setup ...
Page 44: ...Chapter 3 AMI BIOS Setup 32 COM Express Module COM BT A30 3 3 Setup submenu Main ...
Page 45: ...Chapter 3 AMI BIOS Setup 33 COM Express Module COM BT A30 3 4 Setup submenu Advanced ...
Page 61: ...Chapter 3 AMI BIOS Setup 49 COM Express Module COM BT A30 3 4 8 Advanced SIO Configuration ...
Page 64: ...Chapter 3 AMI BIOS Setup 52 COM Express Module COM BT A30 3 5 Setup submenu Chipset ...
Page 65: ...Chapter 3 AMI BIOS Setup 53 COM Express Module COM BT A30 3 5 1 Chipset North Bridge ...
Page 72: ...Chapter 3 AMI BIOS Setup 60 COM Express Module COM BT A30 3 7 1 BBS Priorities ...
Page 73: ...Chapter 3 AMI BIOS Setup 61 COM Express Module COM BT A30 3 8 Setup submenu Save Exit ...
Page 74: ...COM Express Module COM BT A30 Chapter 4 Chapter 4 Drivers Installation ...
Page 77: ...COM Express Module COM BT A30 Appendix A Appendix A Watchdog Timer Programming ...
Page 83: ...COM Express Module COM BT A30 Appendix B Appendix B I O Information ...
Page 84: ...Appendix B I O Information 72 COM Express Module COM BT A30 B 1 I O Address Map ...
Page 86: ...Appendix B I O Information 74 COM Express Module COM BT A30 ...
Page 87: ...Appendix B I O Information 75 COM Express Module COM BT A30 ...
Page 88: ...Appendix B I O Information 76 COM Express Module COM BT A30 ...
Page 89: ...Appendix B I O Information 77 COM Express Module COM BT A30 ...
Page 90: ...Appendix B I O Information 78 COM Express Module COM BT A30 ...
Page 91: ...Appendix B I O Information 79 COM Express Module COM BT A30 ...
Page 92: ...COM Express Module COM BT A30 Appendix C Appendix C Programming Digital I O ...