Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // exti.h
- //
- #include <stdint.h>
- #include <stdbool.h>
- #include "gpio.h"
- #ifndef _EXTI_H
- #define _EXTI_H
- typedef enum
- {
- EDGE_RISING,
- EDGE_FALLING,
- EDGE_BOTH
- } TSignalEdge;
- void exti_Init(void);
- void exti_Main(void);
- // void Handler(void);
- bool exti_Listen(const TPin * Pin, TSignalEdge Edge, void * Handler);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement