TwinCAN Receive

Receive CAN messages via TwinCAN module on XC16x variants of Infineon® C166® microcontrollers

Library

Target Support Package IC1/ C166 Driver Library/ TwinCAN Interface

Description

The TwinCAN Receive block receives CAN messages from a TwinCAN module. The TwinCAN Receive automatically reserves one of the buffers on the TwinCAN module. The TwinCAN Receive block has two outputs: a data output and a function call trigger output. The TwinCAN Receive block polls its message buffer at a rate determined by the block's sample time. When the TwinCAN 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 TwinCAN Receive block data output.

This block has the same parameters as the CAN Receive block, except there is no option to Automatically select buffer or Buffer number. For block parameter descriptions, see the CAN Receive reference page.

  


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