X-Git-Url: https://git.cryptolib.org/?p=labortage2013badge.git;a=blobdiff_plain;f=firmware%2Fspecial_functions.h;fp=firmware%2Fspecial_functions.h;h=a970e14bd385cf110001fee125a825a6402232ec;hp=0000000000000000000000000000000000000000;hb=06016b0f48e8407fdc6000735d310b84fd1fd0bc;hpb=14a4df0d4392a668439c879c89e135d5ac345688 diff --git a/firmware/special_functions.h b/firmware/special_functions.h new file mode 100644 index 0000000..a970e14 --- /dev/null +++ b/firmware/special_functions.h @@ -0,0 +1,28 @@ +/* special_functions.h */ +/* + This file is part of the Labotage2011_Badge. + Copyright (C) 2011 Daniel Otte (daniel.otte@rub.de) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef SPECIAL_FUNCTIONS_H_ +#define SPECIAL_FUNCTIONS_H_ + +#include + +void exec_spm(uint16_t z, uint16_t r0r1, void* dest, void* src, uint8_t len); +void soft_reset(uint8_t delay); + +#endif /* SPECIAL_FUNCTIONS_H_ */