Other Parts Discussed in Thread: EK-TM4C123GXL, ENERGIA
Hi,everyone
I have already installed
- the ARM Cortex-M Support from Embedded Coder
- ARM Cortex-M CMSIS Library Support from DSP System Toolbox
Then,a block called Hardware Interrupt could be seen in Simulink library browser.As shown in Figure.
Now,I want to use this block to produce a interrupt whose period is 0.1s,
but the block's document says : "This block only generates code for the specified ISR. The configuration to enable the interrupt and specific triggering options should be done in the peripheral settings."
I tried to find a PWM block which could be used to trigger a interrupt,however I could not find any relevant (PWM)blocks.
Where is the peripheral settings page of TM4C1294 or how can I enable the interrupt and set triggering options.
Can anyone give me some hints,thanks.
Regard,
TAO