;<<<<<<<<<<程序说明>>>>>>>>>>
;RFM12B发射程序
;Coder:幻风
;版本v1.3
;<<<<<<<<<<引脚定义>>>>>>>>>>
;SDI:Data input of the serial control interface (SPI compatible)
;SCK:Clock input of the serial control interface
;nSEL:Chip select input of the serial control interface (active low)
;SDO:Serial data output with bus hold
;nIRQ:Interrupt request output (active low)
SDI EQU P1.6
SDO EQU P1.5
SCK EQU P1.7
nSEL EQU P1.4
nIRQ EQU P3.2
;<<<<<<<<<<初始化命令定义>>>>>>>>>>
CONFIG_SET DATA 80D7H
POWER_MANAGEMENT DATA 8238H
FREQUENCY_SET DATA 0A640H
DATA_RATE DATA 0C647H
RECEIVER_CONTROL DATA 94A0H
DATA_FILTER DATA 0C2ACH
FIFO_AND_RESET DATA 0CA81H
SYNCHRON_PATTERN DATA 0