Menu

#251 BITSET types

1.4.2.0
wont-fix
nobody
None
2019-05-14
2019-04-23
No

In IPTCom there were several complaints due to the lack of, and requests for supporting the data types BYTE / WORD / DWORD, respectively.
I initially thought that in TRDP this had been addressed by supporting BITSET types but now found to my surprise that TRDP only supports BITSET8, but not BITSET16/32/64. Why?

Discussion

  • Bernd Löhr

    Bernd Löhr - 2019-05-14
    • status: open --> wont-fix
     
  • Bernd Löhr

    Bernd Löhr - 2019-05-14

    Bernd, TRDP supports the data types defined and standardized in IEC 61375, only. 'BYTE', 'WORD' and 'DWORD' are solely used in the x86 architecture, whereas 'WORD' in a more common sense denotes the native data size of a processor. Bitsets (do not use bitfields in 'C' !!!) can be enlarged by using arrays...
    (Refer to GH ;-)

     
  • Bernd Brandstetter

    Well, I can't really subscribe to that since BITSET8/16/32/64 are TCN data types, whereas the type ANTIVALENT8 which is supported by TRDP is not.
    Anyway, it isn't really important but rather a matter of curiosity.

     

Log in to post a comment.

Auth0 Logo