42
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Hardware interrupt configuration, select and configure 21 lines as interrupt sources as required:
Configure the mask bits of 21 interrupt lines (EXTI_IMASK);
Configure the trigger configuration bits (EXTI_RT_CFG and EXTI_FT_CFG) of the selected
disconnection;
Configure the enable and mask bits that control the NVIC interrupt channel mapped to the External
Interrupt Controller so that an interrupt coming from one of the 21 lines can be correctly acknowledged.
Hardware configuration, select and configure 21 lines as event sources as required:
Configure the mask bits of 21 event lines (EXTI_EMASK);
Configure the trigger selection bits (EXTI_RT_CFG and EXTI_FT_CFG) of the event lines.
Software interrupt/event configuration, select and configure 21 lines as software interrupt/event lines as required:
Configure 21 interrupt/event line mask bits (EXTI_IMASK, EXTI_EMASK);
Configure the request bit of the software interrupt event register (EXTI_SWIE).
2.2.4
EXTI line mapping