Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
127
/
631
Hardware interrupt configuration, select and configure 25 lines as interrupt sources as required:
Configure the mask bit (EXTI_IMASK) for 25 interrupt lines.
Configure the selected disconnection trigger configuration bits (EXTI_RT_CFG and EXTI_FT_CFG);
Configure the enable and mask bits of the NVIC interrupt channel corresponding to the external interrupt
controller so that the requests in the 25 interrupt lines can be correctly responded to.
Hardware event configuration: Select 25 lines as event sources as required:
Configure the mask bit (EXTI_EMASK) for 25 event lines.
Configure the trigger configuration bits for the selected event line (EXTI_RT_CFG and EXTI_FT_CFG).
Software interrupt/event configuration, select 25 lines as software interrupt/event lines as required:
Configure 25 interrupt/event line mask bits (EXTI_IMASK and EXTI_EMASK).
Configure the request bit of the software interrupt event register (EXTI_SWIE).