add debug info
This commit is contained in:
parent
e3b6112411
commit
f953864d11
@ -154,11 +154,15 @@ void recevice_exti_config(void) {
|
||||
rcu_periph_clock_enable(RCU_GPIOA);
|
||||
rcu_periph_clock_enable(RCU_CFGCMP);
|
||||
|
||||
/*
|
||||
* GPIO Init will be delete when the project is ready
|
||||
*/
|
||||
gpio_mode_set(GPIOA, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_5);
|
||||
gpio_output_options_set(GPIOA, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_5);
|
||||
gpio_bit_write(GPIOA, GPIO_PIN_5, SET);
|
||||
/******************************************/
|
||||
|
||||
exti_deinit();
|
||||
// exti_deinit();
|
||||
|
||||
gpio_mode_set(GPIOA, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO_PIN_0);
|
||||
nvic_irq_enable(EXTI0_1_IRQn, 1U);
|
||||
|
Loading…
x
Reference in New Issue
Block a user