| Electronic Components Datasheet Search |
|
LRI512 Datasheet(PDF) 40 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
LRI512 Datasheet(HTML) 40 Page - STMicroelectronics |
|
40 / 54 page ![]() LRI512 40/54 APPENDIX A The following pseudo-code describes how the anti-collision could be implemented on the VCD, using recursive functions. 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(LRI512_UID) ; stores LRI512_UID function poll_loop (sub_address_size as integer) pop (mask, address) mask = address & mask ; generates new mask ; send the Request mode = anti-collision send_Request (Request_cmd, mode, mask length, mask value) for sub_address = 0 to (2^sub_address_size - 1) pulse_next_pause if no_collision_is_detected ; LRI512 is inventoried then store (LRI512_UID) else ; remember a collision was detected push(mask,address) endif next sub_address if stack_not_empty ; if some collisions have been detected and then ; not yet processed, the function calls itself poll_loop (sub_address_size) ; recursively to process the last stored collision endif end poll_loop main_cycle: mask = null address = null push (mask, address) poll_loop(sub_address_size) end_main_cycle |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |