1£®ÖжϿØÖƼĴæÆ÷ 2£®ÖжÏÇëÇó¼Ä´æÆ÷£¨INTPND£© 3£®ÖжÏģʽ¼Ä´æÆ÷£¨INTMOD£© 4£®ÖжÏÆÁ±Î¼Ä´æÆ÷£¨INTMSK£© 5£®IRQʸÁ¿Ä£Ê½¼Ä´æÆ÷ 6£®IRQ/FIQÖжϷþÎñ¼Ä´æÆ÷£¨I_ISPC/F_ISPC£© 7£®ÍⲿÖжϿØÖƼĴæÆ÷£¨EXTINT£© 8£®ÍⲿÖжÏÇëÇó¼Ä´æÆ÷£¨EXTINTPND£© ÖжϿØÖƼĴæÆ÷INTCON£ºÔÚʵ¼Ê±à³ÌÖУ¬Ò»°ãÊÇͨ¹ý¶ÔÖжϿØÖƼĴæÆ÷½øÐжÁÈ¡ºÍÉèÖÃÀ´ÊµÏÖ¶ÔÖжϵÄÏìÓ¦ºÍ¿ØÖÆ¡£ÖжϿØÖƼĴæÆ÷INTCONµÄµØַΪ0x01E00000£¬¿É¶Áд£¬³õʼֵΪ0x07¡£ |
INTCON |
λ |
Ãè Êö |
³õ ʼ ×´ ̬ |
±£Áô |
3 |
0 |
0 |
V |
2 |
½ûÖ¹/ʹÄÜIRQÖжϵġ°Ê¸Á¿ÖжÏģʽ¡± 0£ºÊ¸Á¿ÖжÏģʽ1£º·ÇʸÁ¿ÖжÏģʽ |
1 |
I |
1 |
½ûÖ¹/ʹÄÜCPUÏìÓ¦IRQÖжÏÇëÇó 0£ºIRQÖжÏʹÄÜ1£ºIRQÖжϽûÖ¹ |
1 |
F |
0 |
½ûÖ¹/ʹÄÜCPUÏìÓ¦FIQÖжÏÇëÇó 0£ºFIQÖжÏʹÄÜ1£ºFIQÖжϽûÖ¹ |
1 |
|
ÖжÏÇëÇó¼Ä´æÆ÷£¨INTPND£©£ºINTPND¼Ä´æÆ÷µÄµØַΪ0x01E00004£¬ÓÃÀ´Ö¸Ê¾ÖжÏÇëÇó״̬¡£ |
INTPND |
λ |
Ãè Êö |
³õʼ»¯×´Ì¬ |
EINT0 |
25 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
EINT1 |
24 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
EINT2 |
23 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
EINT3 |
22 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
EINT4/5/6/7 |
21 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
TICK |
20 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_ZDMA0 |
19 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_ZDMA1 |
18 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_BDMA0 |
17 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_BDMA1 |
16 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_WDT |
15 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_UERR0/1 |
14 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_TIMER0 |
13 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_TIMER1 |
12 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_TIMER2 |
11 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_TIMER3 |
10 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_TIMER4 |
9 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_TIMER5 |
8 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_URXD0 |
7 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_URXD1 |
6 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_IIC |
5 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_SIO |
4 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_UTXD0 |
3 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_UTXD1 |
2 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_RTC |
1 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
INT_ADC |
0 |
0£ºÎ´ÇëÇó1£ºÒÑÇëÇó |
0 |
|