Aaeon PICO-CV01 Manual do Utilizador Página 103

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 103
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 102
PICO-ITX Board PICO-CV01
Appendix E Electrical Specifications for I/O Ports E-8
**************************************************************************
Boolean SIOBitRead(byte LDN, byte Register, byte BitNum){
Byte TmpValue;
SIOEnterMBPnPMode();
SIOSelectLDN(LDN);
IOWriteByte(SIOIndex, Register);
TmpValue = IOReadByte(SIOData);
TmpValue &= (1 << BitNum);
SIOExitMBPnPMode();
If(TmpValue == 0)
Return 0;
Return 1;
}
VOID ConfigDioMode(byte PinBit, byte Mode){
Byte TmpValue;
SIOEnterMBPnPMode();
SIOSelectLDN(DIOLDN);
IOWriteByte(SIOIndex, DirReg);
TmpValue = IOReadByte(SIOData);
TmpValue |= (Mode << PinBit);
IOWriteByte(SIOData, DirReg);
SIOExitMBPnPMode();
}
**************************************************************************
Vista de página 102
1 2 ... 98 99 100 101 102 103

Comentários a estes Manuais

Sem comentários