MATLAB XPC TARGET 4 - DEVICE DRIVERS Spezifikationen Seite 183

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 653
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 182
Acceptance Filters
5-39
using decimal numbers. You can use the MATLAB function ‘hex2dec’ to also
define hexadecimal numbers in the dialog box entry.
Lets assume a CAN application where messages with the following identifiers
(standard) are crossing the CAN network:
2-30, 48-122 (decimal)
Additionally, only incoming messages 4-29 have to be processed by the target
application. Ideally, all messages not having identifier 4-29 would be filtered
out, but the mask and code parameters don’t allow this exact scheme. The
closest we can achieve here, is filtering out all messages with identifiers above
31 by using value 2047-31=2016 for the mask parameter and value 0 for the
code parameter. The messages with identifier 0,1,2, and 3 cannot be filtered
out and will be returned by the FIFO read driver block, even if they have not
to be processed by the target application.
Seitenansicht 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 652 653

Kommentare zu diesen Handbüchern

Keine Kommentare