abstract.txt
来自「stm32初级例程」· 文本 代码 · 共 24 行
TXT
24 行
The 'EXTI' project is a simple program for the STM32F103RBT6
using Keil 'MCBSTM32' Evaluation Board and demonstrating
the use of the external interrupts.
Example functionality:
- Clock Settings:
- XTAL = 8.00 MHz
- SYSCLK = 72.00 MHz
- HCLK = SYSCLK = 72.00 MHz
- PCLK1 = HCLK/2 = 36.00 MHz
- PCLK2 = HCLK = 72.00 MHz
- ADCLK = PCLK2/6 = 12.00 MHz
- SYSTICK = HCLK/8 = 9.00 MHz
- Pin PA0 and PC13 are configured to generate an external interrupt.
Pressing buttons S2(PA0), S3(PC13) toggle LED PB8.
已经修改为PC12上的中断,所以按下遥控器按键可以看到LED有闪烁
The EXTI program is available in different targets:
Simulator: - configured for software Simulator
MCBSTM32: - runs from Internal Flash located on chip
(used for production or target debugging)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?