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

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.34 WritePorts
This command changes the status of those port pins of the HITAG Communication Controller
(Port 0) that are configured as outputs.
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).
Write accesses to input-configured pins always result in writing ‘1’ (5 V) to the pins.
C-Function: void proloc_WritePorts (BYTE_T mode, BYTE_T output);
Header-File: PROLIB6.H
Serial protocol:
HOST - READ/WRITE DEVICE
output:
mode: 0 ... The bits in -output- are directly written to the output-configured port pins.
READ/WRITE DEVICE - HOST
Status:
0x04
0x02
1 ... The current status of the output-configured port pins is AND-combined with the
2 ... The current status of the output-configured port pins is OR-combined with the bits
3 ... The current status of the output-configured port pins is EXOR-combined with the
P0.7 P0.6 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0
Status
7
'o'
bits in -output-. The result is written to the output-configured port pins.
in -output-. The result is written to the output-configured port pins.
bits in -output-. The result is written to the output-configured port pins.
-1 ...
0 ... no error
output
6
BCC
SERIAL ERROR
5
mode
4
BCC
3
Page 51 (104)
Rev. 1.0
2
1
0
Communication Reader-Host
Htswp.doc/HS

Related parts for HT-CM400