5.2.8 Auxiliary I/O Pins Function Calls
The function calls described in this section are for use with the pins on the auxiliary I/O
header at J4. The source code is in the Dynamic C LIB\Rabbit4000\XBee\XBEE_
API.LIB library if you need to modify it for your own board design.
The sample programs in the Dynamic C SAMPLES\XBee folder illustrate the use of the
function calls.
zb_io_init
int zb_io_init(void);
DESCRIPTION
Initializes the I/O on the XBee RF module. The default behavior for each pin is pre-
defined, but may be overridden before the #use XBEE_API.LIB statement or by
calling the appropriate macro.
J4 Pin
1
2
3
4
6
10
11
13
14
Dynamic C
Name
DIO_00
DIO_01
DIO_02
DIO_03
DIO_12
DIO_05
DIO_04
DIO_10
DIO_11
Functionality
Analog Input or
Digital I/O
Analog Input or
Digital I/O
Analog Input or
Digital I/O
Analog Input or
Digital I/O
Digital I/O
Digital I/O
Digital I/O
Digital I/O
Digital I/O
Default
Configuration
Analog Input
Analog Input
Analog Input
Analog Input
Digital Input
Digital Output
Digital Output
Digital Output
Digital Input
State
Not Applicable
Not Applicable
Not Applicable
Not Applicable
Pulled Up 30 k ?
Default High
Default High
Default Low
Pulled Up 30 k ?
Pull-Up Mask
Bit
4
3
2
1
10
8
0
11
12
52
RabbitCore RCM4500W
相关PDF资料
101-8430-09-203 LED BASE SUBMINI PANEL INDICATOR
103-0537-403 CAP PMI OILTIGHT 1" CLEAR
103-1234-403 CAP LG PANEL IND BLUE OIL TIGHT
103-1336-403 CAP PMI TORPEDO 1" LIGHT YELLOW
103-3101-05-103 LED BASE T-3 1/4 PANEL OIL TIGHT
1032DX5 INDICATOR NEON GREEN PANEL MNT
1033QD5 NEON IND GRN LITE PANEL MNT QC
1034 LAMP INCAND S-8 DBL INDEX VOLT
相关代理商/技术参数
101-1294 功能描述:处理器配件 12VDC POWER SUPPLY REPLACES 101-0686 RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
101-1295 功能描述:处理器配件 RCM5600W Antenna Kit RoHS:否 制造商:Olimex Ltd. 产品:Cable 用于:
10-112989-1 制造商: 功能描述: 制造商:undefined 功能描述:
10112A WAF 制造商:Intersil Corporation 功能描述:
10112-A-0440-2 制造商:Amatom Electronic Hardware 功能描述:
10112-A-0632-2 制造商:Amatom Electronic Hardware 功能描述:
10112-B-0632-6A 制造商:Amatom Electronic Hardware 功能描述:
10-112-BLANK 制造商:Calrad Electronics 功能描述: