C-CAN Receive - Receive CAN messages from C-CAN module on ST10 microcontrollers

Library

Target Support Package IC1/ C166 Driver Library/ C-CAN Interface

Description

The C-CAN Receive block receives CAN messages from a C-CAN module. The C-CAN Receive block automatically reserves one of the buffers on the C-CAN module. The C-CAN Receive block has two outputs: a data output and a function-call trigger output. The C-CAN Receive block polls its message buffer at a rate determined by the block's sample time. When the CAN Receive block detects that a message has arrived, the function-call trigger is activated. You should use a function-call subsystem, activated by the trigger, to decode the message available at the CAN Receive block data output.

Dialog Box

C-CAN module

Select C-CAN module 1 or 2. The C-CAN modules can receive messages independently.

CAN message identifier

The identifier of the message you want to receive.

CAN message type

The type of message you want to receive. Select either Standard(11-bit identifier) or Extended(29-bit identifier).

Sample time

Determines the rate at which to sample the buffer to see if a new message has arrived.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS