Keil Logo

受信メッセージのシミュレート

次の例は、2 メッセージバイトの受信メッセージオブジェクトのシミュレーションを示します。

>CAN0ID = 0x4500   // message ID = 0x4500
>CAN0L = 2         // message length 2 bytes
>CAN0B0 = 0x12     // message data byte 0
>CAN0B1 = 0x34     // message data byte 1
>CAN0IN = 2        // set CAN message with 29-bit identifier to the application program

注:

  • 受信メッセージを CAN 通信ダイアログページに直接入力することもできます。
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.