![Bluegiga IWIP3G - IWRAP - IPHONE 3G Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/bluegiga/iwip3g-iwrap-iphone-3g/iwip3g-iwrap-iphone-3g_user-manual_2777547067.webp)
67
5.27
PIO
Command
PIO
is used to get and set PIO states and directions. There are 6 usable IO pins
(PIO2-PIO7) on the WT11/12 module, 11 (PIO0-PIO10) on the WT32; thus the range for
the mask and state parameters for the WT11/12 is 4-FF (excluding values that have bits 0
or 1 set), for the WT32 it is 0-07FF.
5.27.1
Syntax
Synopsis:
PIO {cmd} [mask] [states]
Description:
cmd
GET
Read the contents of the PIO data register. Bits that are set denote
pins that are pulled up.
GETDIR
Read the contents of the PIO direction register. Bits that are set
denote output pins; others are input pins, i.e. controlled
externally, such as the PIO buttons on the WT32 evaluation board.
GETBIAS
Read the contents of the PIO bias register. Bits that are set denote
pins that are pulled up/down strongly, others are pulled up/down
weakly.
SET {mask} {states}
Set the contents of the PIO data register; the first parameter is the
bit mask for deciding which PIOs are affected, the second
parameter is the bits to set/unset.
SETDIR {mask} {states}
Set the contents of the PIO direction register. By default, only bit 8
(PIO7) is set, thus only it can be controlled locally with PIO SET,
and all others are input pins.
SETBIAS {mask} {states}
Set the contents of the PIO bias register. By default, all pins are
pulled up/down weakly.
RESET
Set the registers to iWRAP defaults.
Содержание IWIP3G - IWRAP - IPHONE 3G
Страница 1: ...iWRAP3 U s e r G u i d e V e r s i o n 1 3 F r i d a y S e p t e m b e r 2 6 2 0 0 8...
Страница 31: ...31 INQUIRY 3 INQUIRY 00 18 42 f1 a5 be 5a020c INQUIRY 00 17 e4 ef f9 01 50020c INQUIRY 00 07 80 87 68 ec 200428...
Страница 33: ...33 Note IC command cancels the inquiry only if issued before the INQUIRY num_of_devices message...
Страница 116: ...116 6 18 2 Examples How to disable default escape character and configure DTR to PIO5 SET CONTROL ESCAPE 20 1...
Страница 169: ...169 9 7 RS232 Connections Diagram Figure 7 RS232 connections...
Страница 187: ...187 Example trace of file reception via OPP Figure 12 Receiving a vCard over OPP...
Страница 197: ...197 Figure 17 MSC signal directions...