MotoHawk Master SPI Trigger

This MotoHawk™ block triggers when the specified transaction event occurs.

Block ID

Master SPI Trigger

Library

motohawk_SPI_lib

Description

The Master SPI Trigger block executes when the specified transaction event (Trigger Type) for the referenced Master Transaction occurs. The trigger will execute within the task specified by the Master SPI Definition that is applicable to this transaction.

Block Parameters

Parameter Field Values Comments/Description
Transaction Name Single quote enclosed alpha numeric Reference to the Master Schedule SPI Transaction block.
Trigger Name (optional) Unique, C-legal, single quote enclosed alphanumeric Set the text that will be appended to code generated function name.
Priority Order (Lower executes first) Numeric This attribute allows the exection order of multiple triggers associated with the same transaction to be specified.
Trigger Type Drop-down list
OnTransactionComplete
OnTransactionStart
Attribute specifies when the trigger will execute in relation to the Master SPI Schedule Transaction.
OnTransactionComplete will execute the trigger when the message represented by the transaction has been sent out on the SPI bus and been acknowledged (or timed out).
OnTransactionStart will execute the trigger when the transaction has been successfully scheduled to transmit.
Allow placement of trigger inside another triggered subsystem. Check Box (enable) Select to enable trigger inside a triggered subsystem.