Aaeon PICO-CV01 Instrukcja Użytkownika Strona 101

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 103
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 100
PICO-ITX Board PICO-CV01
Appendix E Electrical Specifications for I/O Ports E-6
// Procedure : AaeonSetOutputLevel
// Input :
// Example, Set Digital I/O Pin 2 to high level
AaeonSetOutputLevel(Pin2Bit, PinHigh);
}
**************************************************************************
**************************************************************************
Boolean AaeonReadPinStatus(byte PinBit){
Boolean PinStatus ;
PinStatus = SIOBitRead(DIOLDN, StatusReg, PinBit);
Return PinStatus ;
}
VOID AaeonSetOutputLevel(byte PinBit, byte Value){
ConfigDioMode(PinBit, OutputPin);
SIOBitSet(DIOLDN, OutputReg, PinBit, Value);
}
********************************************************************************
********************************************************************************VOI
D SIOEnterMBPnPMode(){
IOWriteByte(SIOIndex, 0x87);
IOWriteByte(SIOIndex, 0x87);
}
VOID SIOExitMBPnPMode(){
IOWriteByte(SIOIndex, 0xAA);
}
VOID SIOSelectLDN(byte LDN){
IOWriteByte(SIOIndex, 0x07); // SIO LDN Register Offset = 0x07
IOWriteByte(SIOData, LDN);
}
VOID SIOBitSet(byte LDN, byte Register, byte BitNum, byte Value){
Byte TmpValue;
Przeglądanie stron 100
1 2 ... 96 97 98 99 100 101 102 103

Komentarze do niniejszej Instrukcji

Brak uwag