| Target Support Package™ TC2 | ![]() |
c281xdspchiplib in Target Support Package™ TC2 software
When you add this block to a model, the block polls the input port for the input value. When the input value is greater than the value in Trigger software interrupt when input value is greater than, the block posts the interrupt to a Hardware Interrupt block in the model.
To use this block, add a Hardware Interrupt block to your model to process the software triggered interrupt from this block into an interrupt service routine on the processor. Set the interrupt number in the Hardware Interrupt block to the value you set here in CPU interrupt number.
The CPU and PIE interrupt numbers together specify a single interrupt for a single peripheral or peripheral module. The C281x Peripheral Interrupt Vector Values table maps CPU and PIE interrupt numbers to these peripheral interrupts.
Note Fixed-point inputs are not supported for this block. |

Specify the interrupt the block responds to. Interrupt numbers are integers ranging from 1 to 12.
Enter an integer value from 1 to 8 to set the Peripheral Interrupt Expansion (PIE) interrupt number.
Sets the value above which the block posts an interrupt. Enter the value to set the level that indicates that the interrupt is asserted by a requesting routine.
For detailed information about interrupt processing, see TMS320x281x DSP System Control and Interrupts Reference Guide, SPRU078C, available at the Texas Instruments™ website.
![]() | C281x SCI Transmit | C281x SPI Receive | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |