Start doxygen documentation

This commit is contained in:
2020-02-16 17:35:35 +01:00
parent 9629c08da2
commit f8076920fe
6 changed files with 54 additions and 19 deletions

View File

@@ -18,6 +18,10 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file systick.c
*/
#include <reflow-controller/systick.h>
#include <stm32/stm32f4xx.h>
#include <cmsis/core_cm4.h>
@@ -31,14 +35,6 @@ void systick_setup(void)
SysTick_Config(SYSTICK_RELOAD);
}
/**
* @brief Wait for x milliseconds
*
* This function is not reentrant and must not be called from an interrupt
*
* @warning Do not use in interrupt context
* @param ms wait time in ms
*/
void systick_wait_ms(uint32_t ms)
{
wait_tick_ms = 0UL;