MATLAB XPC TARGET 4 - DEVICE DRIVERS Specifikace Strana 136

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 653
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 135
4 CAN I/O Support
4-46
definition of the packing and unpacking block are symmetric, the bit pattern
definition could look exactly the same. There is one simple optimization
possible: We don’t have to extract byte 2 (reserved area), because it’s content is
known. The bit pattern edit field can therefore look as follows,
{ [0:7] , [15:-1:8] , [25] , [-1,-1,26:31] , [32:47] }
and the data type edit field as
{ ‘uint8’ , ‘uint8’ , ‘boolean’ , ‘int8’ , ‘int16’ }
Zobrazit stránku 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 652 653

Komentáře k této Příručce

Žádné komentáře