beautypg.com

Rf22 – Rainbow Electronics RF22 User Manual

Page 60

background image

RF22

Version: 0.1 Date: 12/23/2008

Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: [email protected] http://www.hoperf.com

60

01111: TX/RX Data CLK output to be used in conjunction with TX/RX Data pin (output)
10000: TX Data input for direct modulation (input)
10001: External Retransmission Request (input)
10010: TX State (output)
10011: TX FIFO Almost Full (output)
10100: RX Data (output)
10101: RX State (output)
10110: RX FIFO Almost Full (output)
10111: Antenna 1 Switch used for antenna diversity (output)
11000: Antenna 2 Switch used for antenna diversity (output)
11001: Valid Preamble Detected (output)
11010: Invalid Preamble Detected (output)
11011: Sync Word Detected (output)
11100: Clear Channel Assessment (output)
11101: VDD
else : GND

Register 0Ch. GPIO Configuration 1

Bit

D7

D6

D5

D4

D3

D2

D1

D0

Name

gpiodrv1[1:0]

pup1

gpio1[4:0]

Type

R/W

R/W

R/W

Reset value = 00000000

Bit

Name

Function

7:6

gpiodrv1[1:0]

GPIO Driving Capability Setting.

5

pup1

Pullup Resistor Enable on GPIO1.
When set to 1 the a 200k resistor is connected internally between VDD and the pin if the GPIO
is configured as a digital input.

4:0

gpio1[4:0]

GPIO1pin Function Select.
00000: Power-On-Reset (output)
00001: Wake-Up Timer: 1 when WUT has expired (output)
00010: Low Battery Detect: 1 when battery is below threshold setting (output)
00011: Direct Digital Input
00100: External Interrupt, falling edge (input)
00101: External Interrupt, rising edge (input)
00110: External Interrupt, state change (input)
00111: ADC Analog Input
01000: Reserved (Analog Test N Input)
01001: Reserved (Analog Test P Input)
01010: Direct Digital Output
01011: Reserved (Digital Test Output)
01100: Reserved (Analog Test N Output)
01101: Reserved (Analog Test P Output)
01110: Reference Voltage (output)
01111: TX/RX Data CLK output to be used in conjunction with TX/RX Data pin (output)
10000: TX Data input for direct modulation (input)
10001: External Retransmission Request (input)
10010: TX State (output)
10011: TX FIFO Almost Full (output)
10100: RX Data (output)
10101: RX State (output)
10110: RX FIFO Almost Full (output)
10111: Antenna 1 Switch used for antenna diversity (output)
11000: Antenna 2 Switch used for antenna diversity (output)
11001: Valid Preamble Detected (output)
11010: Invalid Preamble Detected (output)
11011: Sync Word Detected (output)
11100: Clear Channel Assessment (output)
11101: VDD
else : GND