1、定义外设结构体; 2、开启外设时钟; 3、调用缺省值配置函数; 4、外设具体配置; 5、外设使能。 转载于:https://www.cnblogs.com/Chuck-Yue/p/10159511.html