Intel 386 Manual do Utilizador Página 492

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 691
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 491
16-13
INPUT/OUTPUT PORTS
{
/* Select pin values */
_SetEXRegByte(P1LTC, PortLtc1);
_SetEXRegByte(P2LTC, PortLtc2);
_SetEXRegByte(P3LTC, PortLtc3);
/* Select pin directions */
_SetEXRegByte(P1DIR, PortDir1);
_SetEXRegByte(P2DIR, PortDir2);
_SetEXRegByte(P3DIR, PortDir3);
/* Turn off weak resistors and select either I/O or peripheral mode */
_SetEXRegByte(P1CFG, Port1);
_SetEXRegByte(P2CFG, Port2);
_SetEXRegByte(P3CFG, Port3);
} /* Init_IOPorts */
Vista de página 491
1 2 ... 487 488 489 490 491 492 493 494 495 496 497 ... 690 691

Comentários a estes Manuais

Sem comentários