Cortex-M处理器的NVIC接收中断请求各种源
> 从图中可看出,NVIC是一个外设中断的管理器,简化core的工作,控制着整个芯片的中断功能
> NVIC负责给外设中断分配优先级,使能外设中断
> 各个外设有自己的中断使能属性,根据实际应用相应开启
> 中断配置流程
a. 外设自身配置,使能相应中断属性
b. NVIC配置该外设的中断优先级及使能