STM32F1
STM32F1, STMCubeMX, GPIO Interrupt
CoyoteUgly
2018. 8. 18. 01:25
STM32F1, STMCubeMX, GPIO Interrupt
0. 참고 자료
1. 모듈
2. HW 구성
3. RCC > HSE > Crystal/Ceramic Resonator
4. PB1 > GPIO_EXTI1
5. LED
6. Clock Configuration > 72MHz
7. Congifuration > GPIO
8. Pin Configuation
GPIO mode > External Interrupt Mode with Falling edge trigger detection
GPIO Pull-up/Pull-down > Pull-up
9. Pin Configuration
NVIC > EXTI line 1 interrupt > Enabled
10. SW 구성
stm32f1xx_hal_gpio.c
__weak void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
gpio.c
void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
11. 소스
https://github.com/sglee0223/stm32f103ve/tree/master/gpio_interrupt