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
12. 결과
'STM32F1' 카테고리의 다른 글
STM32F1, STMCubeMx, Timer, Stepper Motor (0) | 2018.09.29 |
---|---|
STM32F1, STMCubeMx, uart_rx_interrupt (0) | 2018.08.19 |
STM32F1, STMCubeMX, SDIO, SPI, VS1003B MP3 Board, Micro SD Storage Board (0) | 2018.08.06 |
STM32F1, VS1003B MP3 Board, Audacity Audio Program, Linux xxd Command (0) | 2018.08.06 |
STM32F1, STMCubeMX, SPI, VS1003B MP3 Board (3) | 2018.08.06 |