Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
98fb8935
Commit
98fb8935
authored
Feb 26, 2014
by
Damien George
Browse files
stm: Reinstate code to handle CC3000 EXTI (commented out for now).
parent
1dc76af7
Changes
1
Hide whitespace changes
Inline
Side-by-side
stm/exti.c
View file @
98fb8935
...
...
@@ -382,6 +382,27 @@ void EXTI15_10_IRQHandler(void) {
Handle_EXTI_Irq
(
13
);
Handle_EXTI_Irq
(
14
);
Handle_EXTI_Irq
(
15
);
#if 0
// for CC3000 support, needs to be re-written to use new EXTI code
if (EXTI_GetITStatus(EXTI_Line14) != RESET) {
led_toggle(PYB_LED_G2);
/* these are needed for CC3000 support
extern void SpiIntGPIOHandler(void);
extern uint32_t exti14_enabled;
extern uint32_t exti14_missed;
//printf("-> EXTI14 en=%lu miss=%lu\n", exti14_enabled, exti14_missed);
if (exti14_enabled) {
exti14_missed = 0;
SpiIntGPIOHandler(); // CC3000 interrupt
} else {
exti14_missed = 1;
}
*/
EXTI_ClearITPendingBit(EXTI_Line14);
//printf("<- EXTI14 done\n");
}
#endif
}
void
PVD_IRQHandler
(
void
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment