Auxiliary I/O Pins Function Calls - RabbitCore RCM4500W User Manual

C-programmable zigbee core module
Table of Contents

Advertisement

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
you need to modify it for your own board design.
The sample programs in the Dynamic C
calls.
int zb_io_init(void);
DESCRIPTION
Initializes the I/O on the XBee RF module. The default behavior for each pin is predefined, but
may be overridden before the #use XBEE_API.LIB statement or by calling the appropriate
macro.
Dynamic C
J4 Pin
Name
1
DIO_00
2
DIO_01
3
DIO_02
4
DIO_03
6
DIO_12
10
DIO_05
11
DIO_04
13
DIO_10
14
DIO_11
User's Manual
LIB\Rabbit4000\XBee\XBEE_API.LIB
SAMPLES\XBee
zb_io_init
Default
Functionality
Configuration
Analog Input or
Analog Input
Digital I/O
Analog Input or
Analog Input
Digital I/O
Analog Input or
Analog Input
Digital I/O
Analog Input or
Analog Input
Digital I/O
Digital I/O
Digital Input
Digital I/O
Digital Output
Digital I/O
Digital Output
Digital I/O
Digital Output
Digital I/O
Digital Input
folder illustrate the use of the function
Pull-Up Mask
State
Not Applicable
Not Applicable
Not Applicable
Not Applicable
Pulled Up 30 k
Default High
Default High
Default Low
Pulled Up 30 k
library if
Bit
4
3
2
1
10
8
0
11
12
49

Advertisement

Table of Contents
loading

Table of Contents