diff options
Diffstat (limited to 'FreeRTOS-Plus/Test/CMock/examples/temp_sensor/src/TimerInterruptConfigurator.h')
-rw-r--r-- | FreeRTOS-Plus/Test/CMock/examples/temp_sensor/src/TimerInterruptConfigurator.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/FreeRTOS-Plus/Test/CMock/examples/temp_sensor/src/TimerInterruptConfigurator.h b/FreeRTOS-Plus/Test/CMock/examples/temp_sensor/src/TimerInterruptConfigurator.h new file mode 100644 index 000000000..bdf64718d --- /dev/null +++ b/FreeRTOS-Plus/Test/CMock/examples/temp_sensor/src/TimerInterruptConfigurator.h @@ -0,0 +1,13 @@ +#ifndef _TIMERINTERRUPTCONFIGURATOR_H +#define _TIMERINTERRUPTCONFIGURATOR_H + +#include "Types.h" + +#define TIMER0_ID_MASK (((uint32)0x1) << AT91C_ID_TC0) + +void Timer_DisableInterrupt(void); +void Timer_ResetSystemTime(void); +void Timer_ConfigureInterrupt(void); +void Timer_EnableInterrupt(void); + +#endif // _TIMERINTERRUPTCONFIGURATOR_H |