HT-CM400 NXP Semiconductors, HT-CM400 Datasheet - Page 49

no-image

HT-CM400

Manufacturer Part Number
HT-CM400
Description
Ht Cm400; Ht Rm440 Family; Ht Rm800 Family Interface Protocol Reader - Host
Manufacturer
NXP Semiconductors
Datasheet
98-02-10
3.7.32 ConfigPorts
This command writes a new Port 0 Configuration-Byte into the EEPROM of the read/write
device.
The Port 0 Configuration-Byte (-config-) defines, whether a Port-0-pin of the HITAG
Communication Controller has to be handled as an input or as an output.
Initial value stored in the EEPROM of a delivered read/write device:
ConfigPorts automatically initializes the status of input-configurated pins to ‘1’ (5V). The status
of output-configurated pins is left unchanged.
ATTENTION: To use commands referring to Port 0 you need a special hardware with
connected Port 0 signals is required (Port 0 signals are not available on pin connectors of
Philips Semiconductors’ Core Modules).
Power-Up or Reset of the read/write device:
C-Function: void proloc_ConfigPorts (BYTE_T config);
Header-File: PROLIB6.H
Serial protocol:
HOST - READ/WRITE DEVICE
config:
READ/WRITE DEVICE - HOST
Status:
0x03
0x02
The Port 0 Configuration-Byte is not lost (because stored in EEPROM).
Input-configured pins are initialized to HIGH (5 V), output-configured to LOW (0 V) by the
read/write device operating system.
config = 0x00
P0.7 P0.6 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0
Status
7
'c'
-1 ...
0 ... no error
6
config
BCC
SERIAL ERROR
5
BCC
4
3
Page 49 (104)
Rev. 1.0
2
0 ... configure as input
1 ... configure as output
1
0
Communication Reader-Host
Htswp.doc/HS

Related parts for HT-CM400