C281x SW Int Trigger - Generate software triggered nonmaskable interrupt

Library

c281xdspchiplib in Target Support Package™ TC2 software

Description

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.

Dialog Box

CPU interrupt number

Specify the interrupt the block responds to. Interrupt numbers are integers ranging from 1 to 12.

PIE interrupt number

Enter an integer value from 1 to 8 to set the Peripheral Interrupt Expansion (PIE) interrupt number.

Trigger software interrupt when input value is greater than:

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.

References

For detailed information about interrupt processing, see TMS320x281x DSP System Control and Interrupts Reference Guide, SPRU078C, available at the Texas Instruments™ website.

See Also

C281x Hardware Interrupt

  


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