News:

  • February 05, 2023, 07:13:37 PM

Login with username, password and session length

Author Topic: Peerlink - data  (Read 4812 times)

tb711

  • Newbie
  • *
  • Posts: 2
Peerlink - data
« on: April 18, 2016, 12:12:40 PM »
Hi there,

Experimenting a bit with peer link and I'm not having much luck accessing the PL blocks that I broadcast/receive. Can somebody please point me in the right direction with an example of bit level access.

Thanks

tim

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 5793
  • Yes Pinky, Do-more will control the world!
Re: Peerlink - data
« Reply #1 on: April 18, 2016, 12:21:43 PM »
You're trying to access bit values in the data? Just use a bit cast...PLx:y. If you wanted the 3rd bit of the 5th register it would PL4:2 (both are zero based).
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

tb711

  • Newbie
  • *
  • Posts: 2
Re: Peerlink - data
« Reply #2 on: April 18, 2016, 12:54:38 PM »
Great.

Thanks Bob.


Esazamani

  • Newbie
  • *
  • Posts: 2
Re: Peerlink - data
« Reply #3 on: November 13, 2017, 04:40:55 AM »
This is so wonderful that I found it.