setCANTx2Idle | Top Next

setCANTx2Idle set CAN bus transmission Channel into Idle Since R2019b Library: embeddedCreatorLib ( Dafulai Electronics) / Embedded CAN Bus / setCANTx2Idle Description This block sets up CAN bus transmission channel to "Idle" State. You must call it under condition: CAN bus all sequences operations done for this transmission channel. Otherwise, you will get unexpected result. Only when CAN bus transmission channel is in "Idle" state, can you start new operations for this transmission channel Parameters Please double click this block to open parameters dialog below: Let us explain parameters.
• | Peripheral CAN bus Number — tell system this block is which CAN controller peripheral used. You just choose from drop list items: 1 or 2.
• | Transmit Channel: — drop list to select transmission Channel A or Channel B or Channel C.
Ports Input
• | En — "logical" data type's scalar. True means " it sets one CAN Bus transmission channel to idle state". False means nothing happens.
Outport
• |
• | Success — "logical" data type's scalar. It is equal to "En".
Examples