LRI2K-A1T/1GE STMicroelectronics, LRI2K-A1T/1GE Datasheet - Page 81

no-image

LRI2K-A1T/1GE

Manufacturer Part Number
LRI2K-A1T/1GE
Description
Manufacturer
STMicroelectronics
Datasheet

Specifications of LRI2K-A1T/1GE

Operating Temperature (max)
85C
Operating Temperature Classification
Commercial
Lead Free Status / RoHS Status
Not Compliant
LRI2K
Appendix A
A.1
The following pseudocode describes how anticollision could be implemented on the VCD,
using recursivity.
Algorithm for pulsed slots
function push (mask, address); pushes on private stack
function pop (mask, address); pops from private stack
function pulse_next_pause; generates a power pulse
function store(LRI2K_UID); stores LRI2K_UID
function poll_loop (sub_address_size as integer)
last stored collision
end poll_loop
main_cycle:
end_main_cycle
pop (mask, address)
mask = address & mask; generates new mask
mode = anticollision
send_request (Request_cmd, mode, mask length, mask value)
for sub_address = 0 to (2^sub_address_size - 1)
if stack_not_empty ; if some collisions have been detected and
mask = null
address = null
push (mask, address)
poll_loop(sub_address_size)
pulse_next_pause
if no_collision_is_detected ; LRI2K is inventoried
next sub_address
then
endif
then
else ; remember a collision was detected
endif
poll_loop (sub_address_size); recursively to process the
Anticollision algorithm (Informative)
store (LRI2K_UID)
push(mask,address)
; send the request
; not yet processed, the function calls itself
Anticollision algorithm (Informative)
81/86

Related parts for LRI2K-A1T/1GE