mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-12 01:25:59 +00:00
36 lines
720 B
C++
36 lines
720 B
C++
/**
|
|
* @file delay.cpp
|
|
* @author <your name> (<you>@<your_domain>.com)
|
|
* @brief
|
|
* @version 0.1
|
|
* @date 2023-06-13
|
|
*
|
|
* @copyright Copyright (c) 2023
|
|
*
|
|
* How to modify this file:
|
|
* - Ctrl + F and replace "YOUR_DEVICE" with the appropriate name.
|
|
* - Implement the functions delayMs and delayUs.
|
|
* - Remove the <sta/lang.hpp> import if no longer needed.
|
|
*/
|
|
|
|
#define STA_PLATFORM_YOUR_DEVICE
|
|
|
|
#include <sta/devices/template/delay.hpp>
|
|
#ifdef STA_PLATFORM_YOUR_DEVICE
|
|
|
|
#include <sta/lang.hpp>
|
|
|
|
namespace sta
|
|
{
|
|
void delayMs(uint32_t ms)
|
|
{
|
|
STA_NOT_IMPLEMENTED();
|
|
}
|
|
|
|
void delayUs(uint32_t us)
|
|
{
|
|
STA_NOT_IMPLEMENTED();
|
|
}
|
|
} // namespace sta
|
|
|
|
#endif // STA_PLATFORM_YOUR_DEVICE
|