UoS³ Flight Computer Firmware
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Groups
Pages
src
board
watchdog_int.h
1
// this is development code to aid in implementing watchdog kicking on interrupt
2
3
// not necessarily in Uos3 Cubesat flight software - risk that automatically kicking on interrupt
4
5
// might prevent watchdog timer resetting when operation has actually failed
6
7
// could set a flag regularly, but actual kicking should be done as far as possible explicitly
8
9
//
10
11
// Two ways to initialise the interrupt. Dynamically with TimerIntRegister, or statically by setting
12
// the define variable TIMER0A to the routine name (with my modified tm4c_startup_gcc.c this works)
13
14
// (C) Suzanna Lucarotti 20/9/17
15
16
// Developed for Uos3 Cubesat
17
18
#include "../firmware.h"
19
20
void
setupwatchdoginterrupt(
void
);
// this routine enables regular watchdog kicking on interrupt
21
void
Timer0IntHandler(
void
);
// this is the interrupt handler
Generated by
1.8.6