stm32: Add missing exti_get_flag_status
This commit is contained in:
parent
e5a3a582fd
commit
d90ec98f52
@ -78,6 +78,14 @@ void exti_reset_request(u32 extis)
|
|||||||
EXTI_PR = extis;
|
EXTI_PR = extis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Check the flag of a given EXTI interrupt.
|
||||||
|
* */
|
||||||
|
u32 exti_get_flag_status(u32 exti)
|
||||||
|
{
|
||||||
|
return EXTI_PR & exti;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Remap an external interrupt line to the corresponding pin on the
|
* Remap an external interrupt line to the corresponding pin on the
|
||||||
* specified GPIO port.
|
* specified GPIO port.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user