RPC-UHF RADIOMETRIX [Radiometrix Ltd], RPC-UHF Datasheet - Page 24

no-image

RPC-UHF

Manufacturer Part Number
RPC-UHF
Description
Radio Packet Controller
Manufacturer
RADIOMETRIX [Radiometrix Ltd]
Datasheet
Example RPC driver subroutines for Motorola 68HC11
Packet transfers to / from the RPC are best handled in the host by two subroutines :- OUT_BYTE &
IN_BYTE
Additionally LISTEN_BUS is called on completion of a packet transfer to the RPC to return the data
bus to inputs (default state).
*********************************************************************
*
* CPU REGISTER EQUATIONS
*********************************************************************
*
*This section contains a few of the necessary register equations used
*in the example subroutines.
PORTC
DDRC
* Port-C7 = RX-accept
* Port-C6 = RX-request INPUT
* Port-C5 = TX-accept
* Port-C4 = TX-request OUTPUT
* Port-C3 = RPC data bit-3
* Port-C2 = RPC data bit-2
* Port-C1 = RPC data bit-1
* Port-C0 = RPC data bit-0
Radiometrix Ltd, RPC
figure 17: RPC to HC11 µ µ µ µ -C interface
PPENDIX
EQU
EQU
$1003
$1007
OUTPUT
INPUT
;ADDRESS OF RPC PORT
;DATA DIRECTION REGISTER PORT-C
*
page 24

Related parts for RPC-UHF