Lantronix XPort Uživatelský manuál Strana 49

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 57
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 48
5: GPIO Interface
XPort™ User Guide 49
Command details:
1Bh = command 1Bh
01h, 00h, 00h, 00h = the mask that determines which GPIOs will be changed.
bit 0 is 1 GPIO0 will be changed.
bit 1 is 0 GPIO1 will remain the same.
00h, 00h, 00h, 00h = the new states
bit 0 is 0 GPIO0 will become 0.
bit 1 is ignored since it is masked out.
Response details:
1Bh = response to command 1Bh
05h, 00h, 00h, 00h =
bit 0 is 1 GPIO0 = 1
bit 1 is 0 GPIO1 = 0
bit 2 is 1 GPIO2 = 1
The other bits are ignored because there are only three configurable pins on
the XPort.
Zobrazit stránku 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 55 56 57

Komentáře k této Příručce

Žádné komentáře