Software interrupt generation LPC1317

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Software interrupt generation LPC1317

889件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Deepak Bansal on Tue Oct 09 03:01:38 MST 2012
How to generate interrupt by software in LPC
0 件の賞賛
返信
3 返答(返信)

827件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Tue Oct 09 22:43:53 MST 2012
Alternatively you can use the Software Trigger Interrupt Register like

NVIC->STIR = EINT0_IRQn;
For details, go to
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337g/index.html
and in that go to chapter 8, section 8.2.2, and look for table 8.29 and table 8.30.
...:)
0 件の賞賛
返信

827件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by daniel.widyanto on Tue Oct 09 21:56:43 MST 2012
For ARM Cortex-M3, better to use SVC feature for compatibility across ARM Cortex-M3 vendors. See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/ar01s02s07.html
0 件の賞賛
返信

827件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ArtjomGromak on Tue Oct 09 06:59:21 MST 2012

Quote: Deepak Bansal
How to generate interrupt by software in LPC


Try this code
NVIC_EnableIRQ(UART_IRQn);
NVIC_SetPendingIRQ(UART_IRQn);
0 件の賞賛
返信