diff --git a/env/periferals/interrupt.h b/env/periferals/interrupt.h index 95e8966..f76a2e2 100644 --- a/env/periferals/interrupt.h +++ b/env/periferals/interrupt.h @@ -1,3 +1,19 @@ +/** +************************************************************************************************** +* @file interrupt.h +* @author Kerem Yollu & Edwin Koch +* @date 30.10.2022 +* @version 1.0 +************************************************************************************************** +* @brief This is the genral interface for interrupts. +* +* **Detailed Description :** +* This the spi interface and belongs to the interface layer. +* +************************************************************************************************** +*/ + + #ifndef _INTERRUPT_H_ #define _INTERRUPT_H_ @@ -6,10 +22,13 @@ extern "C" { #endif #include <stdint.h> +#include "hardwareDescription.h" - +/*! interrupt callback type for the handler */ typedef void (*intHandler_t)(void); +// TODO: showe this into hardware description +/*! interrupt types*/ typedef enum { }intType_t;